Struct miniscript::descriptor::DescriptorMultiXKey
source · 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 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 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: PartialEq + InnerXKey> PartialEq<DescriptorMultiXKey<K>> for DescriptorMultiXKey<K>
impl<K: PartialEq + InnerXKey> PartialEq<DescriptorMultiXKey<K>> for DescriptorMultiXKey<K>
source§fn eq(&self, other: &DescriptorMultiXKey<K>) -> bool
fn eq(&self, other: &DescriptorMultiXKey<K>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<K: PartialOrd + InnerXKey> PartialOrd<DescriptorMultiXKey<K>> for DescriptorMultiXKey<K>
impl<K: PartialOrd + InnerXKey> PartialOrd<DescriptorMultiXKey<K>> for DescriptorMultiXKey<K>
source§fn partial_cmp(&self, other: &DescriptorMultiXKey<K>) -> Option<Ordering>
fn partial_cmp(&self, other: &DescriptorMultiXKey<K>) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<K: Eq + InnerXKey> Eq for DescriptorMultiXKey<K>
impl<K: InnerXKey> StructuralEq for DescriptorMultiXKey<K>
impl<K: InnerXKey> StructuralPartialEq for DescriptorMultiXKey<K>
Auto Trait Implementations§
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