#[non_exhaustive]pub struct FileEncryption {
pub version: u64,
pub flags: u64,
pub kdf_count: u8,
pub salt: [u8; 16],
pub iv: [u8; 16],
pub check_value: Option<[u8; 12]>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.version: u64§flags: u64§kdf_count: u8§salt: [u8; 16]§iv: [u8; 16]§check_value: Option<[u8; 12]>Trait Implementations§
Source§impl Clone for FileEncryption
impl Clone for FileEncryption
Source§fn clone(&self) -> FileEncryption
fn clone(&self) -> FileEncryption
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FileEncryption
impl Debug for FileEncryption
Source§impl PartialEq for FileEncryption
impl PartialEq for FileEncryption
Source§fn eq(&self, other: &FileEncryption) -> bool
fn eq(&self, other: &FileEncryption) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for FileEncryption
impl StructuralPartialEq for FileEncryption
Auto Trait Implementations§
impl Freeze for FileEncryption
impl RefUnwindSafe for FileEncryption
impl Send for FileEncryption
impl Sync for FileEncryption
impl Unpin for FileEncryption
impl UnsafeUnpin for FileEncryption
impl UnwindSafe for FileEncryption
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