#[non_exhaustive]pub struct Authenticated {
pub key: FileKey,
pub matched: PasswordKind,
pub perms_valid: Option<bool>,
}Expand description
A successful authenticate.
Added in 0.2.0.
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.key: FileKeyThe file key.
matched: PasswordKindWhich password matched.
perms_valid: Option<bool>R5/R6 with /Perms: whether it decrypted to a value consistent with /P and
/EncryptMetadata (ISO 32000-2 Algorithm 13). None when there is nothing to check.
Trait Implementations§
Source§impl Clone for Authenticated
impl Clone for Authenticated
Source§impl Debug for Authenticated
impl Debug for Authenticated
impl Eq for Authenticated
Source§impl PartialEq for Authenticated
impl PartialEq for Authenticated
impl StructuralPartialEq for Authenticated
Auto Trait Implementations§
impl Forget for Authenticated
impl Freeze for Authenticated
impl Move for Authenticated
impl RefUnwindSafe for Authenticated
impl Send for Authenticatedwhere
RawVecInner: Send,
impl Sync for Authenticatedwhere
RawVecInner: Sync,
impl Unpin for Authenticated
impl UnsafeUnpin for Authenticated
impl UnwindSafe for Authenticatedwhere
RawVecInner: UnwindSafe,
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