[][src]Struct gotham_formdata::validate::RegexValidator

pub struct RegexValidator<'re> { /* fields omitted */ }

A validator that checks that an integer is at least of a minimal value.

Implementations

impl<'re> RegexValidator<'re>[src]

pub fn new(re: &'re Regex) -> Self[src]

Create a new RegexValidator.

Trait Implementations

impl<'re> Clone for RegexValidator<'re>[src]

impl<'re> Debug for RegexValidator<'re>[src]

impl<'re, T: AsRef<str>> Validator<T> for RegexValidator<'re>[src]

type Err = RegexMismatchError<'re>

The error returned when validation failed.

Auto Trait Implementations

impl<'re> !RefUnwindSafe for RegexValidator<'re>[src]

impl<'re> Send for RegexValidator<'re>[src]

impl<'re> Sync for RegexValidator<'re>[src]

impl<'re> Unpin for RegexValidator<'re>[src]

impl<'re> !UnwindSafe for RegexValidator<'re>[src]

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,