pub struct DecimalConfig { /* private fields */ }Expand description
Validated decimal configuration.
Ensures precision and scale are valid at construction time.
Implementations§
Source§impl DecimalConfig
impl DecimalConfig
Trait Implementations§
Source§impl Clone for DecimalConfig
impl Clone for DecimalConfig
Source§fn clone(&self) -> DecimalConfig
fn clone(&self) -> DecimalConfig
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 DecimalConfig
impl Debug for DecimalConfig
Source§impl PartialEq for DecimalConfig
impl PartialEq for DecimalConfig
impl Copy for DecimalConfig
impl Eq for DecimalConfig
impl StructuralPartialEq for DecimalConfig
Auto Trait Implementations§
impl Freeze for DecimalConfig
impl RefUnwindSafe for DecimalConfig
impl Send for DecimalConfig
impl Sync for DecimalConfig
impl Unpin for DecimalConfig
impl UnwindSafe for DecimalConfig
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