Struct pgp::composed::key::SecretKey [−][src]
pub struct SecretKey { /* fields omitted */ }
Expand description
User facing interface to work with a secret key.
Implementations
pub fn new(
primary_key: SecretKey,
details: KeyDetails,
public_subkeys: Vec<PublicSubkey>,
secret_subkeys: Vec<SecretSubkey>
) -> Self
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SecretKey
impl UnwindSafe for SecretKey
Blanket Implementations
Mutably borrows from an owned value. Read more
type Output = T
type Output = T
Should always be Self