pub struct Payment {
pub identifier: PaymentIdentifier,
pub token_network_address: TokenNetworkAddress,
pub amount: TokenAmount,
pub notifier: Option<Sender<PaymentStatus>>,
}Expand description
Represents an ongoing payment with means to notify once the payment is completed.
Fields§
§identifier: PaymentIdentifier§token_network_address: TokenNetworkAddress§amount: TokenAmount§notifier: Option<Sender<PaymentStatus>>Auto Trait Implementations§
impl Freeze for Payment
impl !RefUnwindSafe for Payment
impl Send for Payment
impl Sync for Payment
impl Unpin for Payment
impl !UnwindSafe for Payment
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