[][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 Clone for Derivation[src]

impl Debug for Derivation[src]

impl Default for Derivation[src]

impl Eq for Derivation[src]

impl PartialEq<Derivation> for Derivation[src]

impl StructuralEq for Derivation[src]

impl StructuralPartialEq for Derivation[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, 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,