Struct emerald_rs::keystore::HdwalletCrypto
[−]
[src]
pub struct HdwalletCrypto { pub cipher: String, pub hardware: String, pub hd_path: String, }
Keyfile
for HD Wallet
Fields
cipher: String
Cipher type 'hardware'
hardware: String
HD Wallet type
hd_path: String
HD path as specified in BIP-32
Methods
impl HdwalletCrypto
[src]
pub fn try_from(kf: &KeyFile) -> Result<Self, Error>
[src]
Try to convert from Keyfile
Fail if type of crypto
section than Self
Trait Implementations
impl Clone for HdwalletCrypto
[src]
fn clone(&self) -> HdwalletCrypto
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl Debug for HdwalletCrypto
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for HdwalletCrypto
[src]
impl PartialEq for HdwalletCrypto
[src]
fn eq(&self, __arg_0: &HdwalletCrypto) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &HdwalletCrypto) -> bool
[src]
This method tests for !=
.
impl Default for HdwalletCrypto
[src]
fn default() -> HdwalletCrypto
[src]
Returns the "default value" for a type. Read more
impl Into<KeyFile> for HdwalletCrypto
[src]
impl Decodable for HdwalletCrypto
[src]
fn decode<D: Decoder>(d: &mut D) -> Result<Self, D::Error>
[src]
Deserialize a value using a Decoder
.