pub struct MadePayment {
pub request: PaymentRequest,
pub payment: Payment,
pub owed: Vec<Note>,
}Expand description
A payment this holder made, kept while one of its transfers is outgoing or the holder keeps notes owed to the payee for it.
Fields§
§request: PaymentRequestThe request it answers.
payment: PaymentThe payment as Holder::pay returned it, to send again to a payee
who lost it. A transfer cancelled or
forgotten leaves it, so it is never handed out
again; the payment then no longer pays the whole request, which
PaymentRequest::check tells, and the payee would refuse it.
owed: Vec<Note>The payee’s notes from the mint’s answers this holder got itself:
each time it settles one of the payment’s
transfers, whether a resend or its own submission of the payment got
the answer. It cannot tell whether the payee submitted the payment
and has them already, so it keeps them for the payee until they are
handed over (forget_owed) or their layer is
dropped (prune).
Trait Implementations§
Source§impl Clone for MadePayment
impl Clone for MadePayment
Source§fn clone(&self) -> MadePayment
fn clone(&self) -> MadePayment
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more