Type Alias lightning::ln::features::Bolt11InvoiceFeatures
source · pub type Bolt11InvoiceFeatures = Features<Bolt11InvoiceContext>;
Expand description
Features used within an invoice.
Aliased Type§
struct Bolt11InvoiceFeatures { /* private fields */ }
Trait Implementations§
source§impl Base32Len for Bolt11InvoiceFeatures
impl Base32Len for Bolt11InvoiceFeatures
source§fn base32_len(&self) -> usize
fn base32_len(&self) -> usize
Calculate the base32 serialized length
source§impl FromBase32 for Bolt11InvoiceFeatures
impl FromBase32 for Bolt11InvoiceFeatures
§type Err = Error
type Err = Error
The associated error which can be returned from parsing (e.g. because of bad padding).
source§fn from_base32(field_data: &[u5]) -> Result<Bolt11InvoiceFeatures, Error>
fn from_base32(field_data: &[u5]) -> Result<Bolt11InvoiceFeatures, Error>
Convert a base32 slice to
Self
.