Struct wallet::bip32::DerivationComponents[][src]

pub struct DerivationComponents {
    pub master_xpub: ExtendedPubKey,
    pub branch_path: DerivationPath,
    pub branch_xpub: ExtendedPubKey,
    pub terminal_path: Vec<u32>,
    pub index_ranges: Option<DerivationRangeVec>,
}

Fields

master_xpub: ExtendedPubKeybranch_path: DerivationPathbranch_xpub: ExtendedPubKeyterminal_path: Vec<u32>index_ranges: Option<DerivationRangeVec>

Implementations

impl DerivationComponents[src]

pub fn count(&self) -> u32[src]

pub fn derivation_path(&self) -> DerivationPath[src]

pub fn terminal_path(&self) -> DerivationPath[src]

pub fn index_ranges_string(&self) -> String[src]

pub fn child(&self, child: u32) -> ExtendedPubKey[src]

pub fn derive_public_key(&self, child_index: UnhardenedIndex) -> PublicKey[src]

Trait Implementations

impl Clone for DerivationComponents[src]

impl Debug for DerivationComponents[src]

impl Display for DerivationComponents[src]

impl Eq for DerivationComponents[src]

impl FromStr for DerivationComponents[src]

type Err = ComponentsParseError

The associated error which can be returned from parsing.

impl Hash for DerivationComponents[src]

impl MiniscriptKey for DerivationComponents[src]

type Hash = Self

The associated Hash type with the publicKey

impl Ord for DerivationComponents[src]

impl PartialEq<DerivationComponents> for DerivationComponents[src]

impl PartialOrd<DerivationComponents> for DerivationComponents[src]

impl StrictDecode for DerivationComponents[src]

impl StrictEncode for DerivationComponents[src]

impl StructuralEq for DerivationComponents[src]

impl StructuralPartialEq for DerivationComponents[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.