Struct iop_keyvault::Bip44AccountPath
source · [−]pub struct Bip44AccountPath { /* private fields */ }
Expand description
Valid operations for a bip44 account.
Implementations
sourceimpl Bip44AccountPath
impl Bip44AccountPath
sourcepub fn parent(&self) -> &Bip44CoinPath
pub fn parent(&self) -> &Bip44CoinPath
Accessor for the coin this account is in.
sourcepub fn chain(self, chain: Chain) -> Bip44SubAccountPath
pub fn chain(self, chain: Chain) -> Bip44SubAccountPath
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.
sourcepub fn key(self, idx: i32) -> Bip44KeyPath
pub fn key(self, idx: i32) -> Bip44KeyPath
Creates a receiving key of the current account. See also the chain
method for UTXO-based
blockchains.
sourcepub fn bip32_path(&self) -> Path
pub fn bip32_path(&self) -> Path
Returns the BIP-0032 path of the account.
Trait Implementations
sourceimpl Clone for Bip44AccountPath
impl Clone for Bip44AccountPath
sourcefn clone(&self) -> Bip44AccountPath
fn clone(&self) -> Bip44AccountPath
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
Auto Trait Implementations
impl RefUnwindSafe for Bip44AccountPath
impl Send for Bip44AccountPath
impl Sync for Bip44AccountPath
impl Unpin for Bip44AccountPath
impl UnwindSafe for Bip44AccountPath
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more