pub struct IntValidator { /* private fields */ }Expand description
Integer validator
Implementations§
Trait Implementations§
Source§impl Validator for IntValidator
impl Validator for IntValidator
fn validate(&self, value: &str, field: &str) -> ValidationResult
fn is_required(&self) -> bool
Auto Trait Implementations§
impl Freeze for IntValidator
impl RefUnwindSafe for IntValidator
impl Send for IntValidator
impl Sync for IntValidator
impl Unpin for IntValidator
impl UnsafeUnpin for IntValidator
impl UnwindSafe for IntValidator
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