Struct wallet::bip32::DerivationComponents [−][src]
pub struct DerivationComponents { pub master_xpub: ExtendedPubKey, pub branch_path: DerivationPath, pub branch_xpub: ExtendedPubKey, pub terminal_path: Vec<u32>, pub index_ranges: Option<DerivationRangeVec>, }
Fields
master_xpub: ExtendedPubKey
branch_path: DerivationPath
branch_xpub: ExtendedPubKey
terminal_path: Vec<u32>
index_ranges: Option<DerivationRangeVec>
Implementations
impl DerivationComponents
[src]
impl DerivationComponents
[src]pub fn count(&self) -> u32
[src]
pub fn derivation_path(&self) -> DerivationPath
[src]
pub fn terminal_path(&self) -> DerivationPath
[src]
pub fn index_ranges_string(&self) -> String
[src]
pub fn child(&self, child: u32) -> ExtendedPubKey
[src]
pub fn derive_public_key(&self, child_index: UnhardenedIndex) -> PublicKey
[src]
Trait Implementations
impl Clone for DerivationComponents
[src]
impl Clone for DerivationComponents
[src]fn clone(&self) -> DerivationComponents
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Eq for DerivationComponents
[src]
impl Eq for DerivationComponents
[src]impl FromStr for DerivationComponents
[src]
impl FromStr for DerivationComponents
[src]impl Hash for DerivationComponents
[src]
impl Hash for DerivationComponents
[src]impl MiniscriptKey for DerivationComponents
[src]
impl MiniscriptKey for DerivationComponents
[src]type Hash = Self
The associated Hash type with the publicKey
fn to_pubkeyhash(&self) -> Self::Hash
[src]
pub fn is_uncompressed(&self) -> bool
[src]
pub fn serialized_len(&self) -> usize
[src]
impl Ord for DerivationComponents
[src]
impl Ord for DerivationComponents
[src]impl PartialEq<DerivationComponents> for DerivationComponents
[src]
impl PartialEq<DerivationComponents> for DerivationComponents
[src]fn eq(&self, other: &DerivationComponents) -> bool
[src]
fn ne(&self, other: &DerivationComponents) -> bool
[src]
impl PartialOrd<DerivationComponents> for DerivationComponents
[src]
impl PartialOrd<DerivationComponents> for DerivationComponents
[src]fn partial_cmp(&self, other: &DerivationComponents) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn lt(&self, other: &Rhs) -> bool#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn le(&self, other: &Rhs) -> bool#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn gt(&self, other: &Rhs) -> bool#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
pub fn ge(&self, other: &Rhs) -> boolimpl StrictDecode for DerivationComponents
[src]
impl StrictDecode for DerivationComponents
[src]impl StrictEncode for DerivationComponents
[src]
impl StrictEncode for DerivationComponents
[src]impl StructuralEq for DerivationComponents
[src]
impl StructuralEq for DerivationComponents
[src]Auto Trait Implementations
impl RefUnwindSafe for DerivationComponents
impl RefUnwindSafe for DerivationComponents
impl Send for DerivationComponents
impl Send for DerivationComponents
impl Sync for DerivationComponents
impl Sync for DerivationComponents
impl Unpin for DerivationComponents
impl Unpin for DerivationComponents
impl UnwindSafe for DerivationComponents
impl UnwindSafe for DerivationComponents