pub struct GpgKeyInfo {
pub key_id: String,
pub fingerprint: String,
pub user_id: String,
pub algorithm: String,
pub created: String,
pub expires: Option<String>,
}Expand description
Information about a GPG key.
Fields§
§key_id: StringKey ID (short form).
fingerprint: StringKey fingerprint (full).
user_id: StringUser ID (name
algorithm: StringKey algorithm (e.g., rsa4096, ed25519).
created: StringCreation date.
expires: Option<String>Expiry date (if any).
Trait Implementations§
Source§impl Clone for GpgKeyInfo
impl Clone for GpgKeyInfo
Source§fn clone(&self) -> GpgKeyInfo
fn clone(&self) -> GpgKeyInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GpgKeyInfo
impl Debug for GpgKeyInfo
Source§impl<'de> Deserialize<'de> for GpgKeyInfo
impl<'de> Deserialize<'de> for GpgKeyInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GpgKeyInfo
impl RefUnwindSafe for GpgKeyInfo
impl Send for GpgKeyInfo
impl Sync for GpgKeyInfo
impl Unpin for GpgKeyInfo
impl UnsafeUnpin for GpgKeyInfo
impl UnwindSafe for GpgKeyInfo
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