[][src]Enum validators_options::ValidatorCaseOption

pub enum ValidatorCaseOption {
    Any,
    Upper,
    Lower,
}

A special kind of options for validators related to the case of characters.

Variants

Any
Upper
Lower

Implementations

impl ValidatorCaseOption[src]

pub unsafe fn from_ordinal_unsafe(number: i8) -> ValidatorCaseOption[src]

pub fn from_ordinal(number: i8) -> Option<ValidatorCaseOption>[src]

pub fn ordinal(&self) -> i8[src]

pub const fn variants() -> [ValidatorCaseOption; 3][src]

pub const fn variant_count() -> usize[src]

impl ValidatorCaseOption[src]

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

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

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

Trait Implementations

impl Clone for ValidatorCaseOption[src]

impl Copy for ValidatorCaseOption[src]

impl Debug for ValidatorCaseOption[src]

impl Default for ValidatorCaseOption[src]

impl Eq for ValidatorCaseOption[src]

impl PartialEq<ValidatorCaseOption> for ValidatorCaseOption[src]

impl StructuralEq for ValidatorCaseOption[src]

impl StructuralPartialEq for ValidatorCaseOption[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.