pub struct RegexValidator { /* private fields */ }Expand description
Fails if the value does not match pattern. The pattern is compiled once at construction.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RegexValidator
impl RefUnwindSafe for RegexValidator
impl Send for RegexValidator
impl Sync for RegexValidator
impl Unpin for RegexValidator
impl UnsafeUnpin for RegexValidator
impl UnwindSafe for RegexValidator
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