pub struct Submitted {
pub value: u128,
pub answered: usize,
pub notes: Vec<Note>,
pub theirs: Vec<Note>,
pub refused: Vec<Refused>,
}Expand description
What submitting a set of transfers came to.
Fields§
§value: u128Value the purse took in: payments to it and its own change.
answered: usizeTransfers the mint answered.
notes: Vec<Note>Every note in the answers, this purse’s own included.
theirs: Vec<Note>The notes in the answers for neither a note this purse holds nor a
key it expects: the counterparty’s (see Holder::theirs). Hand
them over for its Purse::accept: a payee hands the payer its
change, and a payer that submitted a payment hands the payee its
notes. The payer’s purse keeps those for the payee too, until
forget_owed says they are handed over.
refused: Vec<Refused>Transfers the mint refused, or that kept failing on the way.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Submitted
impl !UnwindSafe for Submitted
impl Freeze for Submitted
impl Send for Submitted
impl Sync for Submitted
impl Unpin for Submitted
impl UnsafeUnpin for Submitted
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