Type Definition lightning::ln::features::InvoiceFeatures
source · pub type InvoiceFeatures = Features<InvoiceContext>;
Expand description
Features used within an invoice.
Trait Implementations§
source§impl Base32Len for InvoiceFeatures
impl Base32Len for InvoiceFeatures
source§fn base32_len(&self) -> usize
fn base32_len(&self) -> usize
Calculate the base32 serialized length
source§impl FromBase32 for InvoiceFeatures
impl FromBase32 for InvoiceFeatures
§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<InvoiceFeatures, Error>
fn from_base32(field_data: &[u5]) -> Result<InvoiceFeatures, Error>
Convert a base32 slice to
Self
.