Struct coins_bip32::primitives::XKeyInfo
source · [−]pub struct XKeyInfo {
pub depth: u8,
pub parent: KeyFingerprint,
pub index: u32,
pub chain_code: ChainCode,
pub hint: Hint,
}
Expand description
Info associated with an extended key
Fields
depth: u8
The key depth in the HD tree
parent: KeyFingerprint
The 4-byte Fingerprint of the parent
index: u32
The 4-byte derivation index of the key. If the most-significant byte is set, this key is hardened
chain_code: ChainCode
The 32-byte chain code used to generate child keys
hint: Hint
The key’s stanadard output type preference
Trait Implementations
sourceimpl AsRef<XKeyInfo> for DerivedXPriv
impl AsRef<XKeyInfo> for DerivedXPriv
sourceimpl AsRef<XKeyInfo> for DerivedXPub
impl AsRef<XKeyInfo> for DerivedXPub
impl Copy for XKeyInfo
Auto Trait Implementations
impl RefUnwindSafe for XKeyInfo
impl Send for XKeyInfo
impl Sync for XKeyInfo
impl Unpin for XKeyInfo
impl UnwindSafe for XKeyInfo
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