Struct vanity_gpg::pgp_backends::ArmoredKey
source · [−]pub struct ArmoredKey { /* private fields */ }
Expand description
Wrapped armored keys
Implementations
sourceimpl ArmoredKey
impl ArmoredKey
sourcepub fn get_public_key(&self) -> &str
pub fn get_public_key(&self) -> &str
Get a reference to the public key
sourcepub fn get_private_key(&self) -> &str
pub fn get_private_key(&self) -> &str
Get a reference to the private key
Trait Implementations
sourceimpl Clone for ArmoredKey
impl Clone for ArmoredKey
sourcefn clone(&self) -> ArmoredKey
fn clone(&self) -> ArmoredKey
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for ArmoredKey
impl Send for ArmoredKey
impl Sync for ArmoredKey
impl Unpin for ArmoredKey
impl UnwindSafe for ArmoredKey
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more