pub struct RangeConstraint {
pub min: Option<f64>,
pub max: Option<f64>,
pub message: Option<String>,
}Fields§
§min: Option<f64>§max: Option<f64>§message: Option<String>Trait Implementations§
Source§impl Clone for RangeConstraint
impl Clone for RangeConstraint
Source§fn clone(&self) -> RangeConstraint
fn clone(&self) -> RangeConstraint
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 RangeConstraint
impl Debug for RangeConstraint
Source§impl<'de> Deserialize<'de> for RangeConstraint
impl<'de> Deserialize<'de> for RangeConstraint
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
Auto Trait Implementations§
impl Freeze for RangeConstraint
impl RefUnwindSafe for RangeConstraint
impl Send for RangeConstraint
impl Sync for RangeConstraint
impl Unpin for RangeConstraint
impl UnwindSafe for RangeConstraint
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