pub enum AsyncPaymentsContext {
OutboundPayment {
payment_id: PaymentId,
nonce: Nonce,
hmac: Hmac<Hash>,
},
}
Expand description
Contains data specific to an AsyncPaymentsMessage
.
Variants§
OutboundPayment
Context contained within the reply BlindedMessagePath
we put in outbound
HeldHtlcAvailable
messages, provided back to us in corresponding ReleaseHeldHtlc
messages.
Fields
§
payment_id: PaymentId
ID used when payment to the originating Offer
was initiated. Useful for us to identify
which of our pending outbound payments should be released to its often-offline payee.
§
nonce: Nonce
A nonce used for authenticating that a ReleaseHeldHtlc
message is valid for a preceding
HeldHtlcAvailable
message.
Trait Implementations§
Source§impl Clone for AsyncPaymentsContext
impl Clone for AsyncPaymentsContext
Source§fn clone(&self) -> AsyncPaymentsContext
fn clone(&self) -> AsyncPaymentsContext
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 AsyncPaymentsContext
impl Debug for AsyncPaymentsContext
Source§impl Readable for AsyncPaymentsContext
impl Readable for AsyncPaymentsContext
Source§impl Writeable for AsyncPaymentsContext
impl Writeable for AsyncPaymentsContext
Auto Trait Implementations§
impl Freeze for AsyncPaymentsContext
impl RefUnwindSafe for AsyncPaymentsContext
impl Send for AsyncPaymentsContext
impl Sync for AsyncPaymentsContext
impl Unpin for AsyncPaymentsContext
impl UnwindSafe for AsyncPaymentsContext
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