pub struct HwiGetXpubResponse {
pub xpub: String,
pub testnet: Option<bool>,
pub private: Option<bool>,
pub depth: Option<u8>,
pub parent_fingerprint: Option<Fingerprint>,
pub child_num: Option<u32>,
pub chaincode: Option<String>,
pub pubkey: Option<String>,
}Expand description
An extended public key and optional expert-mode details.
Responses produced by this module omit every field except xpub unless
expert mode is requested.
Fields§
§xpub: StringThe Base58Check-encoded extended public key.
testnet: Option<bool>Whether the extended key uses test-network versions; present only in expert mode.
private: Option<bool>Whether this is a private key; always false in generated expert responses.
depth: Option<u8>The key’s BIP32 derivation depth; present only in expert mode.
parent_fingerprint: Option<Fingerprint>The parent fingerprint as hexadecimal; present only in expert mode.
child_num: Option<u32>The child number with its hardened bit, if any; present only in expert mode.
chaincode: Option<String>The 32-byte chain code as hexadecimal; present only in expert mode.
pubkey: Option<String>The compressed public key as hexadecimal; present only in expert mode.
Trait Implementations§
Source§impl Debug for HwiGetXpubResponse
impl Debug for HwiGetXpubResponse
Auto Trait Implementations§
impl Freeze for HwiGetXpubResponse
impl RefUnwindSafe for HwiGetXpubResponse
impl Send for HwiGetXpubResponse
impl Sync for HwiGetXpubResponse
impl Unpin for HwiGetXpubResponse
impl UnsafeUnpin for HwiGetXpubResponse
impl UnwindSafe for HwiGetXpubResponse
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