Struct derive::XpubOrigin
source · pub struct XpubOrigin { /* private fields */ }
Implementations§
source§impl XpubOrigin
impl XpubOrigin
sourcepub fn master_fp(&self) -> XpubFp
pub fn master_fp(&self) -> XpubFp
Method returning copy of XpubOrigin::master_fp
field.
sourcepub fn derivation(&self) -> &DerivationPath<HardenedIndex>
pub fn derivation(&self) -> &DerivationPath<HardenedIndex>
Method borrowing XpubOrigin::derivation
field.
source§impl XpubOrigin
impl XpubOrigin
pub fn new(master_fp: XpubFp, derivation: DerivationPath<HardenedIndex>) -> Self
Trait Implementations§
source§impl Clone for XpubOrigin
impl Clone for XpubOrigin
source§fn clone(&self) -> XpubOrigin
fn clone(&self) -> XpubOrigin
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 XpubOrigin
impl Debug for XpubOrigin
source§impl Display for XpubOrigin
impl Display for XpubOrigin
source§impl FromStr for XpubOrigin
impl FromStr for XpubOrigin
source§impl Hash for XpubOrigin
impl Hash for XpubOrigin
source§impl PartialEq for XpubOrigin
impl PartialEq for XpubOrigin
source§fn eq(&self, other: &XpubOrigin) -> bool
fn eq(&self, other: &XpubOrigin) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for XpubOrigin
impl StructuralPartialEq for XpubOrigin
Auto Trait Implementations§
impl Freeze for XpubOrigin
impl RefUnwindSafe for XpubOrigin
impl Send for XpubOrigin
impl Sync for XpubOrigin
impl Unpin for XpubOrigin
impl UnwindSafe for XpubOrigin
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.