pub struct Keys {
pub mnemonic: String,
pub xpub: String,
pub xpub_fingerprint: String,
}
Expand description
A set of Bitcoin keys used by the wallet.
Fields§
§mnemonic: String
Mnemonic phrase
xpub: String
xPub corresponding to the mnemonic phrase
xpub_fingerprint: String
Fingerprint of the xPub
Trait Implementations§
source§impl<'de> Deserialize<'de> for Keys
impl<'de> Deserialize<'de> for Keys
source§fn 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
Auto Trait Implementations§
impl RefUnwindSafe for Keys
impl Send for Keys
impl Sync for Keys
impl Unpin for Keys
impl UnwindSafe for Keys
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