Struct AppliedAmount
pub struct AppliedAmount(/* private fields */);Expand description
A receipt amount applied to open items.
Implementations§
§impl AppliedAmount
impl AppliedAmount
pub const fn new(amount: Money) -> AppliedAmount
pub const fn new(amount: Money) -> AppliedAmount
Creates an applied amount.
Trait Implementations§
§impl Clone for AppliedAmount
impl Clone for AppliedAmount
§fn clone(&self) -> AppliedAmount
fn clone(&self) -> AppliedAmount
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for AppliedAmount
impl Debug for AppliedAmount
§impl PartialEq for AppliedAmount
impl PartialEq for AppliedAmount
impl Eq for AppliedAmount
impl StructuralPartialEq for AppliedAmount
Auto Trait Implementations§
impl Freeze for AppliedAmount
impl RefUnwindSafe for AppliedAmount
impl Send for AppliedAmount
impl Sync for AppliedAmount
impl Unpin for AppliedAmount
impl UnsafeUnpin for AppliedAmount
impl UnwindSafe for AppliedAmount
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