pub struct KeyInfo {
pub fingerprint: String,
pub key_id: String,
pub created: i64,
pub expires: Option<i64>,
pub algorithm: u8,
pub revoked: bool,
}Expand description
One key or subkey.
Fields§
§fingerprint: StringUpper-case hex, 40 characters.
key_id: StringThe last 16 hex characters of the fingerprint.
created: i64Seconds since the epoch.
expires: Option<i64>Seconds since the epoch; None for a key that does not expire.
algorithm: u8OpenPGP public-key algorithm number (1 RSA, 17 DSA, 18 ECDH, 19 ECDSA, 22 EdDSA).
revoked: boolTrait Implementations§
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 UnsafeUnpin 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