[][src]Enum validators_options::ValidatorSeparatorOption

pub enum ValidatorSeparatorOption {
    Must(u8),
    Allow(u8),
    NotAllow,
}

A special kind of options for validators related to separators.

Variants

Must(u8)
Allow(u8)
NotAllow

Implementations

impl ValidatorSeparatorOption[src]

pub fn allow(&self) -> Option<u8>[src]

pub fn not_allow(&self) -> bool[src]

pub fn must(&self) -> Option<u8>[src]

Trait Implementations

impl Clone for ValidatorSeparatorOption[src]

impl Copy for ValidatorSeparatorOption[src]

impl Debug for ValidatorSeparatorOption[src]

impl Eq for ValidatorSeparatorOption[src]

impl PartialEq<ValidatorSeparatorOption> for ValidatorSeparatorOption[src]

impl StructuralEq for ValidatorSeparatorOption[src]

impl StructuralPartialEq for ValidatorSeparatorOption[src]

Auto Trait Implementations

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, U> Into<U> for T where
    U: From<T>, 
[src]

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.