[][src]Struct hdwallet_bitcoin::PrivKey

pub struct PrivKey {
    pub network: Network,
    pub derivation: Derivation,
    pub extended_key: ExtendedPrivKey,
}

Fields

network: Networkderivation: Derivationextended_key: ExtendedPrivKey

Methods

impl PrivKey[src]

pub fn from_master_key(extended_key: ExtendedPrivKey, network: Network) -> Self[src]

Trait Implementations

impl Clone for PrivKey[src]

impl Debug for PrivKey[src]

impl Deserialize<String, Error> for PrivKey[src]

impl Deserialize<Vec<u8>, Error> for PrivKey[src]

impl Eq for PrivKey[src]

impl PartialEq<PrivKey> for PrivKey[src]

impl Serialize<String> for PrivKey[src]

impl Serialize<Vec<u8>> for PrivKey[src]

impl StructuralEq for PrivKey[src]

impl StructuralPartialEq for PrivKey[src]

Auto Trait Implementations

impl RefUnwindSafe for PrivKey

impl Send for PrivKey

impl Sync for PrivKey

impl Unpin for PrivKey

impl UnwindSafe for PrivKey

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> 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<V, T> VZip<V> for T where
    V: MultiLane<T>,