pub struct DecimalRange {
pub min: Decimal,
pub max: Decimal,
}Fields§
§min: Decimal§max: DecimalImplementations§
Trait Implementations§
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 FieldValue for DecimalRange
impl FieldValue for DecimalRange
Source§impl Filterable for DecimalRange
impl Filterable for DecimalRange
type Filter = NoFilterKind
type ListFilter = NoFilterKind
Source§impl From<&DecimalRange> for DecimalRangeView
impl From<&DecimalRange> for DecimalRangeView
Source§fn from(value: &DecimalRange) -> Self
fn from(value: &DecimalRange) -> Self
Converts to this type from the input type.
Source§impl From<DecimalRange> for DecimalRangeView
impl From<DecimalRange> for DecimalRangeView
Source§fn from(value: DecimalRange) -> Self
fn from(value: DecimalRange) -> Self
Converts to this type from the input type.
Source§impl From<DecimalRangeView> for DecimalRange
impl From<DecimalRangeView> for DecimalRange
Source§fn from(view: DecimalRangeView) -> Self
fn from(view: DecimalRangeView) -> Self
Converts to this type from the input type.
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)
fn sanitize_children(&mut self)
fn sanitize_self_with(&mut self, _ctx: &SanitizeContext)
fn sanitize_children_with(&mut self, _ctx: &SanitizeContext)
Source§impl SanitizeCustom for DecimalRange
impl SanitizeCustom for DecimalRange
fn sanitize_custom(&mut self)
fn sanitize_custom_with(&mut self, _ctx: &SanitizeContext)
Source§impl Serialize for DecimalRange
impl Serialize for DecimalRange
Source§impl UpdateView for DecimalRange
impl UpdateView for DecimalRange
type UpdateViewType = DecimalRangeUpdate
Source§fn merge(&mut self, update: Self::UpdateViewType)
fn merge(&mut self, update: Self::UpdateViewType)
merge the updateview into self
Source§impl ValidateAuto for DecimalRange
impl ValidateAuto for DecimalRange
fn validate_self(&self) -> Result<(), ErrorTree>
fn validate_children(&self) -> Result<(), ErrorTree>
fn validate_self_with(&self, _ctx: &ValidateContext) -> Result<(), ErrorTree>
fn validate_children_with( &self, _ctx: &ValidateContext, ) -> Result<(), ErrorTree>
Source§impl ValidateCustom for DecimalRange
impl ValidateCustom for DecimalRange
fn validate_custom(&self) -> Result<(), ErrorTree>
fn validate_custom_with(&self, _ctx: &ValidateContext) -> Result<(), ErrorTree>
Source§impl View for DecimalRange
impl View for DecimalRange
Source§impl Visitable for DecimalRange
impl Visitable for DecimalRange
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 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