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 · 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 Default for DecimalRange
impl Default for DecimalRange
Source§fn default() -> DecimalRange
fn default() -> DecimalRange
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DecimalRangewhere
DecimalRange: Default,
impl<'de> Deserialize<'de> for DecimalRangewhere
DecimalRange: Default,
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 FieldTypeMeta for DecimalRange
impl FieldTypeMeta for DecimalRange
Source§const KIND: FieldKind = Self::__KIND
const KIND: FieldKind = Self::__KIND
Semantic field kind used for runtime planning and validation.
Source§const STORAGE_DECODE: FieldStorageDecode = Self::__STORAGE_DECODE
const STORAGE_DECODE: FieldStorageDecode = Self::__STORAGE_DECODE
Persisted decode contract used by row and payload decoding.
Source§impl FieldValue for DecimalRange
impl FieldValue for DecimalRange
Source§impl PartialEq for DecimalRange
impl PartialEq for DecimalRange
Source§impl Path for DecimalRange
impl Path for DecimalRange
Source§impl SanitizeAuto for DecimalRange
impl SanitizeAuto for DecimalRange
fn sanitize_self(&mut self, ctx: &mut dyn VisitorContext)
Source§impl SanitizeCustom for DecimalRange
impl SanitizeCustom for DecimalRange
fn sanitize_custom(&mut self, _ctx: &mut dyn VisitorContext)
Source§impl Serialize for DecimalRange
impl Serialize 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)
impl Eq for DecimalRange
impl StructuralPartialEq for DecimalRange
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