Struct bdk::keys::SinglePriv
source · 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
Auto Trait Implementations
impl RefUnwindSafe for SinglePriv
impl Send for SinglePriv
impl Sync for SinglePriv
impl Unpin for SinglePriv
impl UnwindSafe for SinglePriv
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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