Enum wallet::bip32::XpubRef[][src]

pub enum XpubRef {
    None,
    Fingerprint(Fingerprint),
    XpubIdentifier(XpubIdentifier),
    Xpub(ExtendedPubKey),
}

Variants

None
Fingerprint(Fingerprint)
XpubIdentifier(XpubIdentifier)

Implementations

impl XpubRef[src]

pub fn is_some(&self) -> bool[src]

pub fn fingerprint(&self) -> Option<Fingerprint>[src]

pub fn identifier(&self) -> Option<XpubIdentifier>[src]

pub fn xpubkey(&self) -> Option<ExtendedPubKey>[src]

Trait Implementations

impl Clone for XpubRef[src]

impl Debug for XpubRef[src]

impl Display for XpubRef[src]

impl Eq for XpubRef[src]

impl From<ExtendedPubKey> for XpubRef[src]

impl From<Fingerprint> for XpubRef[src]

impl From<XpubIdentifier> for XpubRef[src]

impl FromStr for XpubRef[src]

type Err = Error

The associated error which can be returned from parsing.

impl Hash for XpubRef[src]

impl Ord for XpubRef[src]

impl PartialEq<XpubRef> for XpubRef[src]

impl PartialOrd<XpubRef> for XpubRef[src]

impl StrictDecode for XpubRef[src]

impl StrictEncode for XpubRef[src]

impl StructuralEq for XpubRef[src]

impl StructuralPartialEq for XpubRef[src]

Auto Trait Implementations

impl RefUnwindSafe for XpubRef

impl Send for XpubRef

impl Sync for XpubRef

impl Unpin for XpubRef

impl UnwindSafe for XpubRef

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

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.