Struct sapio_miniscript::descriptor::DescriptorSinglePub
source · pub struct DescriptorSinglePub {
pub origin: Option<(Fingerprint, DerivationPath)>,
pub key: SinglePubKey,
}
Expand description
A Single Descriptor Key with optional origin information
Fields§
§origin: Option<(Fingerprint, DerivationPath)>
Origin information
key: SinglePubKey
The key
Trait Implementations§
source§impl Clone for DescriptorSinglePub
impl Clone for DescriptorSinglePub
source§fn clone(&self) -> DescriptorSinglePub
fn clone(&self) -> DescriptorSinglePub
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 Debug for DescriptorSinglePub
impl Debug for DescriptorSinglePub
source§impl Hash for DescriptorSinglePub
impl Hash for DescriptorSinglePub
source§impl Ord for DescriptorSinglePub
impl Ord for DescriptorSinglePub
source§fn cmp(&self, other: &DescriptorSinglePub) -> Ordering
fn cmp(&self, other: &DescriptorSinglePub) -> 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 PartialEq for DescriptorSinglePub
impl PartialEq for DescriptorSinglePub
source§fn eq(&self, other: &DescriptorSinglePub) -> bool
fn eq(&self, other: &DescriptorSinglePub) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for DescriptorSinglePub
impl PartialOrd for DescriptorSinglePub
source§fn partial_cmp(&self, other: &DescriptorSinglePub) -> Option<Ordering>
fn partial_cmp(&self, other: &DescriptorSinglePub) -> 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 Eq for DescriptorSinglePub
impl StructuralEq for DescriptorSinglePub
impl StructuralPartialEq for DescriptorSinglePub
Auto Trait Implementations§
impl RefUnwindSafe for DescriptorSinglePub
impl Send for DescriptorSinglePub
impl Sync for DescriptorSinglePub
impl Unpin for DescriptorSinglePub
impl UnwindSafe for DescriptorSinglePub
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