pub struct PositiveDecimal(/* private fields */);Implementations§
Trait Implementations§
Source§impl Clone for PositiveDecimal
impl Clone for PositiveDecimal
impl Copy for PositiveDecimal
Source§impl Debug for PositiveDecimal
impl Debug for PositiveDecimal
Source§impl<'de> Deserialize<'de> for PositiveDecimal
impl<'de> Deserialize<'de> for PositiveDecimal
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 PositiveDecimal
impl Display for PositiveDecimal
impl Eq for PositiveDecimal
Source§impl From<PositiveDecimal> for Decimal
impl From<PositiveDecimal> for Decimal
Source§fn from(value: PositiveDecimal) -> Self
fn from(value: PositiveDecimal) -> Self
Converts to this type from the input type.
Source§impl FromStr for PositiveDecimal
impl FromStr for PositiveDecimal
Source§impl Hash for PositiveDecimal
impl Hash for PositiveDecimal
Source§impl Ord for PositiveDecimal
impl Ord for PositiveDecimal
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for PositiveDecimal
impl PartialEq for PositiveDecimal
Source§impl PartialOrd for PositiveDecimal
impl PartialOrd for PositiveDecimal
Source§impl Serialize for PositiveDecimal
impl Serialize for PositiveDecimal
impl StructuralPartialEq for PositiveDecimal
Auto Trait Implementations§
impl Freeze for PositiveDecimal
impl RefUnwindSafe for PositiveDecimal
impl Send for PositiveDecimal
impl Sync for PositiveDecimal
impl Unpin for PositiveDecimal
impl UnsafeUnpin for PositiveDecimal
impl UnwindSafe for PositiveDecimal
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