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)
Tuple Fields of PaymentHash
0: Sha256
Description(Description)
Tuple Fields of Description
0: Description
PayeePubKey(PayeePubKey)
Tuple Fields of PayeePubKey
0: PayeePubKey
DescriptionHash(Sha256)
Tuple Fields of DescriptionHash
0: Sha256
ExpiryTime(ExpiryTime)
Tuple Fields of ExpiryTime
0: ExpiryTime
MinFinalCltvExpiry(MinFinalCltvExpiry)
Tuple Fields of MinFinalCltvExpiry
Fallback(Fallback)
Tuple Fields of Fallback
0: Fallback
PrivateRoute(PrivateRoute)
Tuple Fields of PrivateRoute
0: PrivateRoute
PaymentSecret(PaymentSecret)
Tuple Fields of PaymentSecret
Features(InvoiceFeatures)
Tuple Fields of Features
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