pub struct KeyInfo {
pub slot: u32,
pub key_type: KeyType,
pub algorithm: i32,
pub usage: KeyUsage,
pub label: String,
pub created: u64,
pub exportable: bool,
}Expand description
Information about a stored key.
Fields§
§slot: u32Slot number
key_type: KeyTypeKey type
algorithm: i32Algorithm identifier
usage: KeyUsageUsage flags
label: StringKey label
created: u64Creation timestamp (Unix epoch)
exportable: boolWhether the key can be exported
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyInfo
impl RefUnwindSafe for KeyInfo
impl Send for KeyInfo
impl Sync for KeyInfo
impl Unpin for KeyInfo
impl UnwindSafe for KeyInfo
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)