pub struct DescriptorMultiXKey<K: InnerXKey> {
pub origin: Option<(Fingerprint, DerivationPath)>,
pub xkey: K,
pub derivation_paths: DerivPaths,
pub wildcard: Wildcard,
}
Expand description
Instance of one or more extended keys, as specified in BIP 389.
Fields§
§origin: Option<(Fingerprint, DerivationPath)>
Origin information
xkey: K
The extended key
derivation_paths: DerivPaths
The derivation paths. Never empty.
wildcard: Wildcard
Whether the descriptor is wildcard
Trait Implementations§
Source§impl<K: Clone + InnerXKey> Clone for DescriptorMultiXKey<K>
impl<K: Clone + InnerXKey> Clone for DescriptorMultiXKey<K>
Source§fn clone(&self) -> DescriptorMultiXKey<K>
fn clone(&self) -> DescriptorMultiXKey<K>
Returns a duplicate 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<K: Ord + InnerXKey> Ord for DescriptorMultiXKey<K>
impl<K: Ord + InnerXKey> Ord for DescriptorMultiXKey<K>
Source§fn cmp(&self, other: &DescriptorMultiXKey<K>) -> Ordering
fn cmp(&self, other: &DescriptorMultiXKey<K>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<K: PartialOrd + InnerXKey> PartialOrd for DescriptorMultiXKey<K>
impl<K: PartialOrd + InnerXKey> PartialOrd for DescriptorMultiXKey<K>
impl<K: Eq + InnerXKey> Eq for DescriptorMultiXKey<K>
impl<K: InnerXKey> StructuralPartialEq for DescriptorMultiXKey<K>
Auto Trait Implementations§
impl<K> Freeze for DescriptorMultiXKey<K>where
K: Freeze,
impl<K> RefUnwindSafe for DescriptorMultiXKey<K>where
K: RefUnwindSafe,
impl<K> Send for DescriptorMultiXKey<K>where
K: Send,
impl<K> Sync for DescriptorMultiXKey<K>where
K: Sync,
impl<K> Unpin for DescriptorMultiXKey<K>where
K: Unpin,
impl<K> UnwindSafe for DescriptorMultiXKey<K>where
K: UnwindSafe,
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