pub struct DecimalRange {
pub min: Decimal,
pub max: Decimal,
}Fields§
§min: Decimal§max: DecimalImplementations§
Trait Implementations§
Source§impl CandidType for DecimalRange
impl CandidType for DecimalRange
Source§impl Clone for DecimalRange
impl Clone for DecimalRange
Source§fn clone(&self) -> DecimalRange
fn clone(&self) -> DecimalRange
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 DecimalRange
impl Debug for DecimalRange
Source§impl<'de> Deserialize<'de> for DecimalRange
impl<'de> Deserialize<'de> for DecimalRange
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
impl Eq for DecimalRange
Source§impl NormalizeAuto for DecimalRange
impl NormalizeAuto for DecimalRange
fn normalize_self(&mut self, ctx: &mut dyn VisitorContext)
Source§impl NormalizeCustom for DecimalRange
impl NormalizeCustom for DecimalRange
fn normalize_custom(&mut self, _ctx: &mut dyn VisitorContext)
Source§impl PartialEq for DecimalRange
impl PartialEq for DecimalRange
Source§impl Path for DecimalRange
impl Path for DecimalRange
impl StructuralPartialEq for DecimalRange
Source§impl ValidateAuto for DecimalRange
impl ValidateAuto for DecimalRange
fn validate_self(&self, ctx: &mut dyn VisitorContext)
Source§impl ValidateCustom for DecimalRange
impl ValidateCustom for DecimalRange
fn validate_custom(&self, ctx: &mut dyn VisitorContext)
Source§impl Visitable for DecimalRange
impl Visitable for DecimalRange
fn drive(&self, visitor: &mut dyn VisitorCore)
fn drive_mut(&mut self, visitor: &mut dyn VisitorMutCore)
Auto Trait Implementations§
impl Freeze for DecimalRange
impl RefUnwindSafe for DecimalRange
impl Send for DecimalRange
impl Sync for DecimalRange
impl Unpin for DecimalRange
impl UnsafeUnpin for DecimalRange
impl UnwindSafe for DecimalRange
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.