pub struct NameValidator { /* private fields */ }Expand description
Validator struct to validate names using a regular expression.
Implementations§
Source§impl NameValidator
impl NameValidator
Trait Implementations§
Source§impl ValidateName for NameValidator
impl ValidateName for NameValidator
Auto Trait Implementations§
impl Freeze for NameValidator
impl RefUnwindSafe for NameValidator
impl Send for NameValidator
impl Sync for NameValidator
impl Unpin for NameValidator
impl UnwindSafe for NameValidator
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