Struct lightning_invoice::RawHrp [−][src]
pub struct RawHrp { pub currency: Currency, pub raw_amount: Option<u64>, pub si_prefix: Option<SiPrefix>, }
Expand description
Data of the RawInvoice
that is encoded in the human readable part
(C-not exported) As we don’t yet support Option
Fields
currency: Currency
The currency deferred from the 3rd and 4th character of the bech32 transaction
raw_amount: Option<u64>
The amount that, multiplied by the SI prefix, has to be payed
si_prefix: Option<SiPrefix>
SI prefix that gets multiplied with the raw_amount
Trait Implementations
(C-not exported)
Auto Trait Implementations
impl RefUnwindSafe for RawHrp
impl UnwindSafe for RawHrp
Blanket Implementations
Mutably borrows from an owned value. Read more