pub struct AsyncBolt12OfferContext {
pub offer_nonce: Nonce,
}Expand description
The context of a payment made for a static invoice requested from a BOLT 12 Offer.
Fields§
§offer_nonce: NonceThe Nonce used to verify that an inbound InvoiceRequest corresponds to this static
invoice’s offer.
Trait Implementations§
Source§impl Clone for AsyncBolt12OfferContext
impl Clone for AsyncBolt12OfferContext
Source§fn clone(&self) -> AsyncBolt12OfferContext
fn clone(&self) -> AsyncBolt12OfferContext
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 moreSource§impl Debug for AsyncBolt12OfferContext
impl Debug for AsyncBolt12OfferContext
Source§impl PartialEq for AsyncBolt12OfferContext
impl PartialEq for AsyncBolt12OfferContext
Source§impl Readable for AsyncBolt12OfferContext
impl Readable for AsyncBolt12OfferContext
Source§impl Writeable for AsyncBolt12OfferContext
impl Writeable for AsyncBolt12OfferContext
impl Eq for AsyncBolt12OfferContext
impl StructuralPartialEq for AsyncBolt12OfferContext
Auto Trait Implementations§
impl Freeze for AsyncBolt12OfferContext
impl RefUnwindSafe for AsyncBolt12OfferContext
impl Send for AsyncBolt12OfferContext
impl Sync for AsyncBolt12OfferContext
impl Unpin for AsyncBolt12OfferContext
impl UnwindSafe for AsyncBolt12OfferContext
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§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> LengthReadable for Twhere
T: Readable,
impl<T> LengthReadable for Twhere
T: Readable,
Source§fn read_from_fixed_length_buffer<R>(reader: &mut R) -> Result<T, DecodeError>where
R: LengthLimitedRead,
fn read_from_fixed_length_buffer<R>(reader: &mut R) -> Result<T, DecodeError>where
R: LengthLimitedRead,
Reads a
Self in from the given LengthLimitedRead.