Struct lightning_invoice::RawDataPart
source · pub struct RawDataPart {
pub timestamp: PositiveTimestamp,
pub tagged_fields: Vec<RawTaggedField>,
}
Expand description
Data of the RawBolt11Invoice
that is encoded in the data part
Fields§
§timestamp: PositiveTimestamp
generation time of the invoice
tagged_fields: Vec<RawTaggedField>
tagged fields of the payment request
Trait Implementations§
source§impl Clone for RawDataPart
impl Clone for RawDataPart
source§fn clone(&self) -> RawDataPart
fn clone(&self) -> RawDataPart
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 moresource§impl Debug for RawDataPart
impl Debug for RawDataPart
source§impl FromBase32 for RawDataPart
impl FromBase32 for RawDataPart
source§type Err = Bolt11ParseError
type Err = Bolt11ParseError
The associated error which can be returned from parsing (e.g. because of bad padding).
source§impl Hash for RawDataPart
impl Hash for RawDataPart
source§impl Ord for RawDataPart
impl Ord for RawDataPart
source§fn cmp(&self, other: &RawDataPart) -> Ordering
fn cmp(&self, other: &RawDataPart) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for RawDataPart
impl PartialEq for RawDataPart
source§impl PartialOrd for RawDataPart
impl PartialOrd for RawDataPart
source§impl ToBase32 for RawDataPart
impl ToBase32 for RawDataPart
source§fn write_base32<W: WriteBase32>(
&self,
writer: &mut W,
) -> Result<(), <W as WriteBase32>::Err>
fn write_base32<W: WriteBase32>( &self, writer: &mut W, ) -> Result<(), <W as WriteBase32>::Err>
Encode as base32 and write it to the supplied writer
Implementations shouldn’t allocate.
impl Eq for RawDataPart
impl StructuralPartialEq for RawDataPart
Auto Trait Implementations§
impl Freeze for RawDataPart
impl RefUnwindSafe for RawDataPart
impl Send for RawDataPart
impl Sync for RawDataPart
impl Unpin for RawDataPart
impl UnwindSafe for RawDataPart
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)