pub struct KeyInfo {
pub name: KeyName,
pub algorithm: Option<Algorithm>,
pub encrypted: bool,
}
Expand description
Information/metadata about a particular key.
Fields§
§name: KeyName
Name of the key.
algorithm: Option<Algorithm>
Algorithm of this key (if recognized).
encrypted: bool
Is this key encrypted (i.e. under a password)?
Trait Implementations§
source§impl Ord for KeyInfo
impl Ord for KeyInfo
source§impl PartialOrd for KeyInfo
impl PartialOrd for KeyInfo
impl Eq for KeyInfo
impl StructuralPartialEq for KeyInfo
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§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)