pub struct FileKeyInfo {
pub salt: [u8; 16],
pub kdf: KdfParams,
pub kind: SecretKind,
}Expand description
What a brain’s page 0 says about its key, read without the key.
Fields§
§salt: [u8; 16]The salt, which names the brain’s keychain entry.
kdf: KdfParamsThe KDF parameters.
kind: SecretKindThe kind of secret the parameters say it takes: raw-key parameters mean a key, anything else a passphrase.
Trait Implementations§
Source§impl Clone for FileKeyInfo
impl Clone for FileKeyInfo
impl Copy for FileKeyInfo
Source§impl Debug for FileKeyInfo
impl Debug for FileKeyInfo
impl Eq for FileKeyInfo
Source§impl PartialEq for FileKeyInfo
impl PartialEq for FileKeyInfo
impl StructuralPartialEq for FileKeyInfo
Auto Trait Implementations§
impl Forget for FileKeyInfo
impl Freeze for FileKeyInfo
impl Move for FileKeyInfo
impl RefUnwindSafe for FileKeyInfo
impl Send for FileKeyInfo
impl Sync for FileKeyInfo
impl Unpin for FileKeyInfo
impl UnsafeUnpin for FileKeyInfo
impl UnwindSafe for FileKeyInfo
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