pub struct Auth {
pub cipher: Cipher,
pub auth_version: u32,
pub mode: u32,
pub password: Option<PasswordSection>,
pub recipients: Vec<RecipientEntry>,
}Expand description
The AUTH chunk.
Fields§
§cipher: CipherThe recognized cipher.
auth_version: u32Layout version.
mode: u32Bitfield: bit 0 password, bit 1 machine binding.
password: Option<PasswordSection>The password section, when mode bit 0 is set.
recipients: Vec<RecipientEntry>The recipient entries, when mode bit 1 is set.
Implementations§
Trait Implementations§
impl Eq for Auth
impl StructuralPartialEq for Auth
Auto Trait Implementations§
impl Freeze for Auth
impl RefUnwindSafe for Auth
impl Send for Auth
impl Sync for Auth
impl Unpin for Auth
impl UnsafeUnpin for Auth
impl UnwindSafe for Auth
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