Struct lightning_invoice::RawDataPart
source · [−]pub struct RawDataPart {
pub timestamp: PositiveTimestamp,
pub tagged_fields: Vec<RawTaggedField>,
}
Expand description
Data of the RawInvoice
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
sourceimpl Clone for RawDataPart
impl Clone for RawDataPart
sourcefn clone(&self) -> RawDataPart
fn clone(&self) -> RawDataPart
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for RawDataPart
impl Debug for RawDataPart
sourceimpl FromBase32 for RawDataPart
impl FromBase32 for RawDataPart
type Err = ParseError
type Err = ParseError
The associated error which can be returned from parsing (e.g. because of bad padding).
sourceimpl PartialEq<RawDataPart> for RawDataPart
impl PartialEq<RawDataPart> for RawDataPart
sourcefn eq(&self, other: &RawDataPart) -> bool
fn eq(&self, other: &RawDataPart) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &RawDataPart) -> bool
fn ne(&self, other: &RawDataPart) -> bool
This method tests for !=
.
sourceimpl ToBase32 for RawDataPart
impl ToBase32 for RawDataPart
sourcefn 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. Read more
impl Eq for RawDataPart
impl StructuralEq for RawDataPart
impl StructuralPartialEq for RawDataPart
Auto Trait Implementations
impl RefUnwindSafe for RawDataPart
impl Send for RawDataPart
impl Sync for RawDataPart
impl Unpin for RawDataPart
impl UnwindSafe for RawDataPart
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more