Expose structured entry documents
This commit is contained in:
@@ -180,6 +180,10 @@ impl EditSession {
|
||||
pub fn plaintext(&self) -> &SecretBytes {
|
||||
&self.plaintext
|
||||
}
|
||||
|
||||
pub(crate) fn original_ciphertext(&self) -> Option<&EncryptedEntry> {
|
||||
self.original_ciphertext.as_ref()
|
||||
}
|
||||
}
|
||||
|
||||
impl fmt::Debug for EditSession {
|
||||
|
||||
Reference in New Issue
Block a user