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: u64The 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 duplicate 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 Freeze for ErroneousField
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