Struct iop_keyvault::Bip44AccountPath [−][src]
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]
fn clone(&self) -> Bip44AccountPath
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for Bip44AccountPath
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,