pub struct RangeValidator<T> { /* private fields */ }Expand description
Validates that numeric values fall within a specified range.
Implementations§
Source§impl<T> RangeValidator<T>
impl<T> RangeValidator<T>
Trait Implementations§
Source§impl<T: Clone> Clone for RangeValidator<T>
impl<T: Clone> Clone for RangeValidator<T>
Source§fn clone(&self) -> RangeValidator<T>
fn clone(&self) -> RangeValidator<T>
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<T: Debug> Debug for RangeValidator<T>
impl<T: Debug> Debug for RangeValidator<T>
Source§impl OptionValidator for RangeValidator<i64>
impl OptionValidator for RangeValidator<i64>
Source§impl OptionValidator for RangeValidator<f64>
impl OptionValidator for RangeValidator<f64>
Source§impl OptionValidator for RangeValidator<u64>
impl OptionValidator for RangeValidator<u64>
Auto Trait Implementations§
impl<T> Freeze for RangeValidator<T>where
T: Freeze,
impl<T> RefUnwindSafe for RangeValidator<T>where
T: RefUnwindSafe,
impl<T> Send for RangeValidator<T>where
T: Send,
impl<T> Sync for RangeValidator<T>where
T: Sync,
impl<T> Unpin for RangeValidator<T>where
T: Unpin,
impl<T> UnsafeUnpin for RangeValidator<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for RangeValidator<T>where
T: UnwindSafe,
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