pub struct AmountInCents(/* private fields */);
Expand description
Represents an amount in cents
Implementations§
Trait Implementations§
Source§impl Clone for AmountInCents
impl Clone for AmountInCents
Source§fn clone(&self) -> AmountInCents
fn clone(&self) -> AmountInCents
Returns a copy 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 AmountInCents
impl Debug for AmountInCents
Source§impl<'de> Deserialize<'de> for AmountInCents
impl<'de> Deserialize<'de> for AmountInCents
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for AmountInCents
impl Display for AmountInCents
Source§impl From<i64> for AmountInCents
impl From<i64> for AmountInCents
Source§impl Serialize for AmountInCents
impl Serialize for AmountInCents
impl Copy for AmountInCents
Auto Trait Implementations§
impl Freeze for AmountInCents
impl RefUnwindSafe for AmountInCents
impl Send for AmountInCents
impl Sync for AmountInCents
impl Unpin for AmountInCents
impl UnwindSafe for AmountInCents
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