Struct iop_keyvault::Bip44AccountPath[][src]

pub struct Bip44AccountPath { /* fields omitted */ }

Valid operations for a bip44 account.

Implementations

impl Bip44AccountPath[src]

pub fn parent(&self) -> &Bip44CoinPath[src]

Accessor for the coin this account is in.

pub fn account(&self) -> i32[src]

Accessor for the account index.

pub fn chain(self, chain: Chain) -> Bip44SubAccountPath[src]

Creates a sub-account of the current account. For blockchains with UTXO-based accounting it makes sense to separate change addresses from receiving addresses. For balance-based accounting, just use the key method.

pub fn key(self, idx: i32) -> Bip44KeyPath[src]

Creates a receiving key of the current account. See also the chain method for UTXO-based blockchains.

pub fn bip32_path(&self) -> Path[src]

Returns the BIP-0032 path of the account.

Trait Implementations

impl Clone for Bip44AccountPath[src]

impl Debug for Bip44AccountPath[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> Same<T> for T

type Output = T

Should always be Self

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>,