#[non_exhaustive]pub struct NumericRange {
pub name: String,
pub min: Option<f64>,
pub max: Option<f64>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: String§min: Option<f64>§max: Option<f64>Implementations§
Trait Implementations§
Source§impl Clone for NumericRange
impl Clone for NumericRange
Source§fn clone(&self) -> NumericRange
fn clone(&self) -> NumericRange
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 NumericRange
impl Debug for NumericRange
Source§impl PartialEq for NumericRange
impl PartialEq for NumericRange
Source§impl Serialize for NumericRange
impl Serialize for NumericRange
impl StructuralPartialEq for NumericRange
Auto Trait Implementations§
impl Freeze for NumericRange
impl RefUnwindSafe for NumericRange
impl Send for NumericRange
impl Sync for NumericRange
impl Unpin for NumericRange
impl UnsafeUnpin for NumericRange
impl UnwindSafe for NumericRange
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