Struct pgp::composed::key::SecretSubkey
source · pub struct SecretSubkey { /* private fields */ }
Implementations§
source§impl SecretSubkey
impl SecretSubkey
pub fn new(key: SecretSubkey, keyflags: KeyFlags) -> Self
pub fn sign<F>( self, sec_key: &impl SecretKeyTrait, key_pw: F ) -> Result<SignedSecretSubKey>
Trait Implementations§
source§impl Clone for SecretSubkey
impl Clone for SecretSubkey
source§fn clone(&self) -> SecretSubkey
fn clone(&self) -> SecretSubkey
Returns a copy 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 SecretSubkey
impl Debug for SecretSubkey
source§impl KeyTrait for SecretSubkey
impl KeyTrait for SecretSubkey
source§impl PartialEq for SecretSubkey
impl PartialEq for SecretSubkey
source§fn eq(&self, other: &SecretSubkey) -> bool
fn eq(&self, other: &SecretSubkey) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for SecretSubkey
impl StructuralPartialEq for SecretSubkey
Auto Trait Implementations§
impl RefUnwindSafe for SecretSubkey
impl Send for SecretSubkey
impl Sync for SecretSubkey
impl Unpin for SecretSubkey
impl UnwindSafe for SecretSubkey
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