Enum lightning_invoice::TaggedField
source · 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§
source§impl Clone for TaggedField
impl Clone for TaggedField
source§fn clone(&self) -> TaggedField
fn clone(&self) -> TaggedField
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TaggedField
impl Debug for TaggedField
source§impl From<TaggedField> for RawTaggedField
impl From<TaggedField> for RawTaggedField
source§fn from(tf: TaggedField) -> Self
fn from(tf: TaggedField) -> Self
Converts to this type from the input type.
source§impl FromBase32 for TaggedField
impl FromBase32 for TaggedField
§type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing (e.g. because of bad padding).
source§fn from_base32(field: &[u5]) -> Result<TaggedField, ParseError>
fn from_base32(field: &[u5]) -> Result<TaggedField, ParseError>
Convert a base32 slice to
Self
.