pub struct DecimalConstraintError { /* private fields */ }Expand description
Error returned when a decimal does not satisfy a constrained decimal type.
Implementations§
Trait Implementations§
Source§impl Clone for DecimalConstraintError
impl Clone for DecimalConstraintError
Source§fn clone(&self) -> DecimalConstraintError
fn clone(&self) -> DecimalConstraintError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DecimalConstraintError
impl Debug for DecimalConstraintError
Source§impl Display for DecimalConstraintError
impl Display for DecimalConstraintError
impl Eq for DecimalConstraintError
Source§impl Error for DecimalConstraintError
impl Error for DecimalConstraintError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl PartialEq for DecimalConstraintError
impl PartialEq for DecimalConstraintError
Source§fn eq(&self, other: &DecimalConstraintError) -> bool
fn eq(&self, other: &DecimalConstraintError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DecimalConstraintError
Auto Trait Implementations§
impl Freeze for DecimalConstraintError
impl RefUnwindSafe for DecimalConstraintError
impl Send for DecimalConstraintError
impl Sync for DecimalConstraintError
impl Unpin for DecimalConstraintError
impl UnsafeUnpin for DecimalConstraintError
impl UnwindSafe for DecimalConstraintError
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