pub struct Bip86Path {
pub account: u32,
pub change: u32,
pub index: u32,
}Expand description
BIP-86 derivation path descriptor
Fields§
§account: u32§change: u32§index: u32Implementations§
Source§impl Bip86Path
impl Bip86Path
pub fn new(account: u32, change: u32, index: u32) -> Self
pub fn external(account: u32, index: u32) -> Self
pub fn internal(account: u32, index: u32) -> Self
pub fn to_bitcoin_path(&self, network: &Network) -> BitcoinDerivationPath
pub fn to_string(&self, network: &Network) -> String
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Bip86Path
impl RefUnwindSafe for Bip86Path
impl Send for Bip86Path
impl Sync for Bip86Path
impl Unpin for Bip86Path
impl UnsafeUnpin for Bip86Path
impl UnwindSafe for Bip86Path
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more