Struct lightning::offers::invoice_error::ErroneousField
source · pub struct ErroneousField {
pub tlv_fieldnum: u64,
pub suggested_value: Option<Vec<u8>>,
}
Expand description
The field in the InvoiceRequest
or the Bolt12Invoice
that contained an error.
Fields§
§tlv_fieldnum: u64
The type number of the TLV field containing the error.
suggested_value: Option<Vec<u8>>
A value to use for the TLV field to avoid the error.
Trait Implementations§
source§impl Clone for ErroneousField
impl Clone for ErroneousField
source§fn clone(&self) -> ErroneousField
fn clone(&self) -> ErroneousField
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 moreAuto Trait Implementations§
impl RefUnwindSafe for ErroneousField
impl Send for ErroneousField
impl Sync for ErroneousField
impl Unpin for ErroneousField
impl UnwindSafe for ErroneousField
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more