[][src]Struct hdwallet::key_chain::Derivation

pub struct Derivation {
    pub depth: u8,
    pub parent_key: Option<ExtendedPrivKey>,
    pub key_index: Option<KeyIndex>,
}

KeyChain derivation info

Fields

depth: u8

depth, 0 if it is master key

parent_key: Option<ExtendedPrivKey>

parent key

key_index: Option<KeyIndex>

key_index which used with parent key to derive this key

Methods

impl Derivation[src]

pub fn master() -> Self[src]

Trait Implementations

impl PartialEq<Derivation> for Derivation[src]

impl Default for Derivation[src]

impl Clone for Derivation[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

impl Eq for Derivation[src]

impl Debug for Derivation[src]

Auto Trait Implementations

impl Send for Derivation

impl Sync for Derivation

Blanket Implementations

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

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

type Owned = T

impl<T> From for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

The type returned in the event of a conversion error.

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