pub struct KeyInfo {
pub name: KeyName,
pub algorithm: Option<Algorithm>,
pub encrypted: bool,
}Expand description
Information/metadata about a particular key.
Fields§
§name: KeyNameName of the key.
algorithm: Option<Algorithm>Algorithm of this key (if recognized).
encrypted: boolIs 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