pub struct DecryptedBlob { /* private fields */ }Implementations§
Source§impl DecryptedBlob
impl DecryptedBlob
pub fn new(header: BlobHeader, text: Vec<u8>, metadata: Metadata) -> Self
pub fn get_blob_header(&self) -> &Option<BlobHeader>
pub fn get_metadata(&self) -> &Option<Metadata>
pub fn get_text(&self) -> &Vec<u8> ⓘ
pub fn get_text_mut(&mut self) -> &mut Vec<u8> ⓘ
Auto Trait Implementations§
impl Freeze for DecryptedBlob
impl RefUnwindSafe for DecryptedBlob
impl Send for DecryptedBlob
impl Sync for DecryptedBlob
impl Unpin for DecryptedBlob
impl UnsafeUnpin for DecryptedBlob
impl UnwindSafe for DecryptedBlob
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