Struct hal::bip32::DerivationInfo
source · [−]pub struct DerivationInfo {
pub network: Network,
pub master_fingerprint: Option<Fingerprint>,
pub path: Option<DerivationPath>,
pub xpriv: Option<ExtendedPrivKey>,
pub xpub: ExtendedPubKey,
pub chain_code: ChainCode,
pub identifier: XpubIdentifier,
pub fingerprint: Fingerprint,
pub public_key: PublicKey,
pub private_key: Option<PrivateKey>,
pub addresses: Addresses,
}Fields
network: Networkmaster_fingerprint: Option<Fingerprint>path: Option<DerivationPath>xpriv: Option<ExtendedPrivKey>xpub: ExtendedPubKeychain_code: ChainCodeidentifier: XpubIdentifierfingerprint: Fingerprintpublic_key: PublicKeyprivate_key: Option<PrivateKey>addresses: AddressesTrait Implementations
sourceimpl Clone for DerivationInfo
impl Clone for DerivationInfo
sourcefn clone(&self) -> DerivationInfo
fn clone(&self) -> DerivationInfo
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
sourceimpl Debug for DerivationInfo
impl Debug for DerivationInfo
sourceimpl<'de> Deserialize<'de> for DerivationInfo
impl<'de> Deserialize<'de> for DerivationInfo
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<DerivationInfo> for DerivationInfo
impl PartialEq<DerivationInfo> for DerivationInfo
sourcefn eq(&self, other: &DerivationInfo) -> bool
fn eq(&self, other: &DerivationInfo) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &DerivationInfo) -> bool
fn ne(&self, other: &DerivationInfo) -> bool
This method tests for !=.
sourceimpl Serialize for DerivationInfo
impl Serialize for DerivationInfo
impl Eq for DerivationInfo
impl StructuralEq for DerivationInfo
impl StructuralPartialEq for DerivationInfo
Auto Trait Implementations
impl RefUnwindSafe for DerivationInfo
impl Send for DerivationInfo
impl Sync for DerivationInfo
impl Unpin for DerivationInfo
impl UnwindSafe for DerivationInfo
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more