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 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 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§impl PartialOrd for DescriptorSinglePub
impl PartialOrd for DescriptorSinglePub
impl Eq for DescriptorSinglePub
impl StructuralPartialEq for DescriptorSinglePub
Auto Trait Implementations§
impl Freeze for DescriptorSinglePub
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