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