Struct kaspa_bip32::ExtendedKeyAttrs
source · pub struct ExtendedKeyAttrs {
pub depth: Depth,
pub parent_fingerprint: KeyFingerprint,
pub child_number: ChildNumber,
pub chain_code: ChainCode,
}
Expand description
Extended key attributes: fields common to extended keys including depth, fingerprints, child numbers, and chain codes.
Fields§
§depth: Depth
Depth in the key derivation hierarchy.
parent_fingerprint: KeyFingerprint
Parent fingerprint.
child_number: ChildNumber
Child number.
chain_code: ChainCode
Chain code.
Trait Implementations§
source§impl BorshDeserialize for ExtendedKeyAttrs
impl BorshDeserialize for ExtendedKeyAttrs
source§impl BorshSerialize for ExtendedKeyAttrs
impl BorshSerialize for ExtendedKeyAttrs
source§impl Clone for ExtendedKeyAttrs
impl Clone for ExtendedKeyAttrs
source§fn clone(&self) -> ExtendedKeyAttrs
fn clone(&self) -> ExtendedKeyAttrs
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ExtendedKeyAttrs
impl Debug for ExtendedKeyAttrs
source§impl Ord for ExtendedKeyAttrs
impl Ord for ExtendedKeyAttrs
source§fn cmp(&self, other: &ExtendedKeyAttrs) -> Ordering
fn cmp(&self, other: &ExtendedKeyAttrs) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for ExtendedKeyAttrs
impl PartialEq for ExtendedKeyAttrs
source§fn eq(&self, other: &ExtendedKeyAttrs) -> bool
fn eq(&self, other: &ExtendedKeyAttrs) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for ExtendedKeyAttrs
impl PartialOrd for ExtendedKeyAttrs
source§fn partial_cmp(&self, other: &ExtendedKeyAttrs) -> Option<Ordering>
fn partial_cmp(&self, other: &ExtendedKeyAttrs) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for ExtendedKeyAttrs
impl StructuralEq for ExtendedKeyAttrs
impl StructuralPartialEq for ExtendedKeyAttrs
Auto Trait Implementations§
impl RefUnwindSafe for ExtendedKeyAttrs
impl Send for ExtendedKeyAttrs
impl Sync for ExtendedKeyAttrs
impl Unpin for ExtendedKeyAttrs
impl UnwindSafe for ExtendedKeyAttrs
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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