Enum lightning_invoice::TaggedField [−][src]
pub enum TaggedField { PaymentHash(Sha256), Description(Description), PayeePubKey(PayeePubKey), DescriptionHash(Sha256), ExpiryTime(ExpiryTime), MinFinalCltvExpiry(MinFinalCltvExpiry), Fallback(Fallback), PrivateRoute(PrivateRoute), PaymentSecret(PaymentSecret), Features(InvoiceFeatures), }
Expand description
Tagged field with known tag
For descriptions of the enum values please refer to the enclosed type’s docs.
(C-not exported) As we don’t yet support enum variants with the same name the struct contained in the variant.
Variants
PaymentHash(Sha256)
Description(Description)
PayeePubKey(PayeePubKey)
DescriptionHash(Sha256)
ExpiryTime(ExpiryTime)
MinFinalCltvExpiry(MinFinalCltvExpiry)
Fallback(Fallback)
PrivateRoute(PrivateRoute)
PaymentSecret(PaymentSecret)
Features(InvoiceFeatures)
Implementations
Trait Implementations
Performs the conversion.
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing (e.g. because of bad padding).
Convert a base32 slice to Self
.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Encode as base32 and write it to the supplied writer Implementations shouldn’t allocate. Read more
Auto Trait Implementations
impl RefUnwindSafe for TaggedField
impl Send for TaggedField
impl Sync for TaggedField
impl Unpin for TaggedField
impl UnwindSafe for TaggedField
Blanket Implementations
Mutably borrows from an owned value. Read more