pub struct EncryptedFileData {
pub file: Vec<u8>,
pub thumbnail: Option<Vec<u8>>,
}
Expand description
Encrypted bytes of a file and optionally a thumbnail.
This struct is used as a parameter type for decrypt_file_data
and
returned by encrypt_file_data
.
Fields§
§file: Vec<u8>
§thumbnail: Option<Vec<u8>>
Trait Implementations§
Source§impl Clone for EncryptedFileData
impl Clone for EncryptedFileData
Source§fn clone(&self) -> EncryptedFileData
fn clone(&self) -> EncryptedFileData
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for EncryptedFileData
impl RefUnwindSafe for EncryptedFileData
impl Send for EncryptedFileData
impl Sync for EncryptedFileData
impl Unpin for EncryptedFileData
impl UnwindSafe for EncryptedFileData
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