Struct bdk::keys::SinglePriv
pub struct SinglePriv {
pub origin: Option<(Fingerprint, DerivationPath)>,
pub key: PrivateKey,
}
Expand description
A descriptor [bitcoin::PrivateKey
] with optional origin information.
Fields§
§origin: Option<(Fingerprint, DerivationPath)>
Origin information (fingerprint and derivation path).
key: PrivateKey
The private key.
Trait Implementations§
§impl Clone for SinglePriv
impl Clone for SinglePriv
§fn clone(&self) -> SinglePriv
fn clone(&self) -> SinglePriv
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 more