pub struct CashDetails {
pub buyer_supplied_money: Money,
pub change_back_money: Option<Money>,
}
Expand description
Represents the details of a cash payment.
Fields§
§buyer_supplied_money: Money
The amount and currency of the money supplied by the buyer.
change_back_money: Option<Money>
The amount of change due back to the buyer. This read-only field is calculated from the amount_money and buyer_supplied_money fields.
Auto Trait Implementations§
impl Freeze for CashDetails
impl RefUnwindSafe for CashDetails
impl Send for CashDetails
impl Sync for CashDetails
impl Unpin for CashDetails
impl UnwindSafe for CashDetails
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