[][src]Enum lnpbp::lnp::application::payment::invoice::TaggedField

pub enum TaggedField {
    PaymentHash(Sha256),
    Description(Description),
    PayeePubKey(PayeePubKey),
    DescriptionHash(Sha256),
    ExpiryTime(ExpiryTime),
    MinFinalCltvExpiry(MinFinalCltvExpiry),
    Fallback(Fallback),
    Route(Route),
}

Tagged field with known tag

For descriptions of the enum values please refer to the enclosed type's docs.

Variants

PaymentHash(Sha256)
Description(Description)
PayeePubKey(PayeePubKey)
DescriptionHash(Sha256)
ExpiryTime(ExpiryTime)
MinFinalCltvExpiry(MinFinalCltvExpiry)
Fallback(Fallback)
Route(Route)

Implementations

impl TaggedField[src]

pub fn tag(&self) -> u5[src]

Numeric representation of the field's tag

Trait Implementations

impl Clone for TaggedField[src]

impl Debug for TaggedField[src]

impl Eq for TaggedField[src]

impl From<TaggedField> for RawTaggedField[src]

impl FromBase32 for TaggedField[src]

type Err = ParseError

The associated error which can be returned from parsing (e.g. because of bad padding).

impl PartialEq<TaggedField> for TaggedField[src]

impl StructuralEq for TaggedField[src]

impl StructuralPartialEq for TaggedField[src]

impl ToBase32 for TaggedField[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> 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> ToBase32 for T where
    T: AsRef<[u8]>, 
[src]

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>,