pub struct AttachedDocument {
pub key_id_header: KeyIdHeader,
pub edek: V4DocumentHeader,
pub edoc: IvAndCiphertext,
}Fields§
§key_id_header: KeyIdHeader§edek: V4DocumentHeader§edoc: IvAndCiphertextImplementations§
Source§impl AttachedDocument
impl AttachedDocument
Sourcepub fn write_to_bytes(&self) -> Result<Bytes, Error>
pub fn write_to_bytes(&self) -> Result<Bytes, Error>
Write out the entire v5 attached documents to bytes.
Trait Implementations§
Source§impl Debug for AttachedDocument
impl Debug for AttachedDocument
Source§impl PartialEq for AttachedDocument
impl PartialEq for AttachedDocument
Source§impl TryFrom<Bytes> for AttachedDocument
impl TryFrom<Bytes> for AttachedDocument
impl StructuralPartialEq for AttachedDocument
Auto Trait Implementations§
impl !Freeze for AttachedDocument
impl RefUnwindSafe for AttachedDocument
impl Send for AttachedDocument
impl Sync for AttachedDocument
impl Unpin for AttachedDocument
impl UnwindSafe for AttachedDocument
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more