pub struct PgpKey { /* private fields */ }
Implementations§
source§impl PgpKey
impl PgpKey
pub fn fingerprint(&self) -> &str
pub fn uid(&self) -> &str
pub fn name(&self) -> Option<&str>
pub fn email(&self) -> Option<&str>
pub fn created(&self) -> i64
pub fn expires(&self) -> i64
pub fn length(&self) -> u32
pub fn revoked(&self) -> u32
pub fn pubkey_algo(&self) -> u8
Trait Implementations§
Auto Trait Implementations§
impl Freeze for PgpKey
impl RefUnwindSafe for PgpKey
impl !Send for PgpKey
impl !Sync for PgpKey
impl Unpin for PgpKey
impl UnwindSafe for PgpKey
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