pub struct IncomingPayment {
pub token: PaymentToken,
pub sender: String,
pub message_id: String,
}Expand description
A parsed incoming payment from the payment_inbox.
Holds the decoded token plus routing metadata needed for accept/reject. NOT serialized — constructed internally from a ServerPeerMessage.
Fields§
§token: PaymentToken§sender: String§message_id: StringTrait Implementations§
Source§impl Clone for IncomingPayment
impl Clone for IncomingPayment
Source§fn clone(&self) -> IncomingPayment
fn clone(&self) -> IncomingPayment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 IncomingPayment
impl RefUnwindSafe for IncomingPayment
impl Send for IncomingPayment
impl Sync for IncomingPayment
impl Unpin for IncomingPayment
impl UnsafeUnpin for IncomingPayment
impl UnwindSafe for IncomingPayment
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