pub enum DescriptorTarget {
Path(DerivationPath),
Account(u32),
}Expand description
The path or account used to derive a descriptor key.
Variants§
Path(DerivationPath)
An explicit derivation path preceding the wildcard.
Tuple Fields
§
0: DerivationPathThe requested derivation path.
Account(u32)
An account index for script-specific BIP44-style derivation.
Trait Implementations§
Source§impl Clone for DescriptorTarget
impl Clone for DescriptorTarget
Source§fn clone(&self) -> DescriptorTarget
fn clone(&self) -> DescriptorTarget
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DescriptorTarget
impl RefUnwindSafe for DescriptorTarget
impl Send for DescriptorTarget
impl Sync for DescriptorTarget
impl Unpin for DescriptorTarget
impl UnsafeUnpin for DescriptorTarget
impl UnwindSafe for DescriptorTarget
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