pub struct DecimalSpec { /* private fields */ }Expand description
A checked fixed-scale decimal type declaration.
Implementations§
Source§impl DecimalSpec
impl DecimalSpec
Trait Implementations§
Source§impl Clone for DecimalSpec
impl Clone for DecimalSpec
impl Copy for DecimalSpec
Source§impl Debug for DecimalSpec
impl Debug for DecimalSpec
impl Eq for DecimalSpec
Source§impl Hash for DecimalSpec
impl Hash for DecimalSpec
Source§impl Ord for DecimalSpec
impl Ord for DecimalSpec
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 DecimalSpec
impl PartialEq for DecimalSpec
Source§impl PartialOrd for DecimalSpec
impl PartialOrd for DecimalSpec
impl StructuralPartialEq for DecimalSpec
Auto Trait Implementations§
impl Freeze for DecimalSpec
impl RefUnwindSafe for DecimalSpec
impl Send for DecimalSpec
impl Sync for DecimalSpec
impl Unpin for DecimalSpec
impl UnsafeUnpin for DecimalSpec
impl UnwindSafe for DecimalSpec
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