pub struct UrlValidator {
pub schemes: Vec<String>,
pub require_host: bool,
}
Expand description
URL validator
Fields§
§schemes: Vec<String>
§require_host: bool
Trait Implementations§
Source§impl ConfigValidator<String> for UrlValidator
impl ConfigValidator<String> for UrlValidator
Auto Trait Implementations§
impl Freeze for UrlValidator
impl RefUnwindSafe for UrlValidator
impl Send for UrlValidator
impl Sync for UrlValidator
impl Unpin 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