[][src]Struct emerald_rs::keystore::HdwalletCrypto

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

Implementations

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]

impl Debug for HdwalletCrypto[src]

impl Default for HdwalletCrypto[src]

impl<'de> Deserialize<'de> for HdwalletCrypto[src]

impl Eq for HdwalletCrypto[src]

impl Into<KeyFile> for HdwalletCrypto[src]

impl PartialEq<HdwalletCrypto> for HdwalletCrypto[src]

impl Serialize for HdwalletCrypto[src]

impl StructuralEq for HdwalletCrypto[src]

impl StructuralPartialEq for HdwalletCrypto[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err