//! Information about a key in a keystore
usecrate::{Algorithm, KeyName};/// Information/metadata about a particular key.
#[derive(Clone, Debug, Eq, PartialEq, PartialOrd, Ord)]pubstructKeyInfo{/// Name of the key.
pubname: KeyName,
/// Algorithm of this key (if recognized).
pubalgorithm:Option<Algorithm>,
/// Is this key encrypted (i.e. under a password)?
pubencrypted:bool,
}