pub struct MinorAmount(/* private fields */);Expand description
Integer amount in the smallest currency unit.
Implementations§
Trait Implementations§
Source§impl Clone for MinorAmount
impl Clone for MinorAmount
Source§fn clone(&self) -> MinorAmount
fn clone(&self) -> MinorAmount
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 moreSource§impl Debug for MinorAmount
impl Debug for MinorAmount
Source§impl Hash for MinorAmount
impl Hash for MinorAmount
Source§impl Ord for MinorAmount
impl Ord for MinorAmount
Source§fn cmp(&self, other: &MinorAmount) -> Ordering
fn cmp(&self, other: &MinorAmount) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for MinorAmount
impl PartialEq for MinorAmount
Source§impl PartialOrd for MinorAmount
impl PartialOrd for MinorAmount
impl Copy for MinorAmount
impl Eq for MinorAmount
impl StructuralPartialEq for MinorAmount
Auto Trait Implementations§
impl Freeze for MinorAmount
impl RefUnwindSafe for MinorAmount
impl Send for MinorAmount
impl Sync for MinorAmount
impl Unpin for MinorAmount
impl UnsafeUnpin for MinorAmount
impl UnwindSafe for MinorAmount
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