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§
source§impl AsRef<XKeyInfo> for DerivedXPriv
impl AsRef<XKeyInfo> for DerivedXPriv
source§impl AsRef<XKeyInfo> for DerivedXPub
impl AsRef<XKeyInfo> for DerivedXPub
source§impl PartialEq for XKeyInfo
impl PartialEq for XKeyInfo
impl Copy for XKeyInfo
Auto Trait Implementations§
impl Freeze for XKeyInfo
impl RefUnwindSafe for XKeyInfo
impl Send for XKeyInfo
impl Sync for XKeyInfo
impl Unpin for XKeyInfo
impl UnwindSafe for XKeyInfo
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)