Struct sequoia_ipc::keybox::HeaderRecord
source · pub struct HeaderRecord { /* private fields */ }
Expand description
Keybox header record.
Contains general metadata of the keybox.
Implementations§
source§impl HeaderRecord
impl HeaderRecord
sourcepub fn check_magic(&self) -> bool
pub fn check_magic(&self) -> bool
Checks that the magic number is correctly “KBXf”.
sourcepub fn created_at(&self) -> u32
pub fn created_at(&self) -> u32
The unix timestamp when this keybox file was created.
sourcepub fn last_maintained(&self) -> u32
pub fn last_maintained(&self) -> u32
The unix timestamp when this keybox file was last maintained.
Trait Implementations§
source§impl Debug for HeaderRecord
impl Debug for HeaderRecord
source§impl PartialEq for HeaderRecord
impl PartialEq for HeaderRecord
source§fn eq(&self, other: &HeaderRecord) -> bool
fn eq(&self, other: &HeaderRecord) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for HeaderRecord
impl StructuralPartialEq for HeaderRecord
Auto Trait Implementations§
impl Freeze for HeaderRecord
impl RefUnwindSafe for HeaderRecord
impl Send for HeaderRecord
impl Sync for HeaderRecord
impl Unpin for HeaderRecord
impl UnwindSafe for HeaderRecord
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