[][src]Struct validators::integer::IntegerLteZero

pub struct IntegerLteZero(_);

Methods

impl IntegerLteZero[src]

impl IntegerLteZero[src]

pub fn get_integer(&self) -> i128[src]

pub fn get_number(&self) -> i128[src]

impl IntegerLteZero[src]

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

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

Trait Implementations

impl Validated for IntegerLteZero[src]

impl ValidatedWrapper for IntegerLteZero[src]

type Error = IntegerError

impl Eq for IntegerLteZero[src]

impl Clone for IntegerLteZero[src]

impl PartialEq<IntegerLteZero> for IntegerLteZero[src]

impl From<IntegerLteZero> for Integer[src]

impl Hash for IntegerLteZero[src]

impl Deref for IntegerLteZero[src]

type Target = i128

The resulting type after dereferencing.

impl Debug for IntegerLteZero[src]

impl Display for IntegerLteZero[src]

impl FromStr for IntegerLteZero[src]

type Err = IntegerError

The associated error which can be returned from parsing.

impl<'a> FromParam<'a> for IntegerLteZero[src]

type Error = IntegerError

The associated error to be returned if parsing/validation fails.

impl<'a> FromFormValue<'a> for IntegerLteZero[src]

type Error = IntegerError

The associated error which can be returned from parsing. It is a good idea to have the return type be or contain an &'v str so that the unparseable string can be examined after a bad parse. Read more

impl Serialize for IntegerLteZero[src]

impl<'de> Deserialize<'de> for IntegerLteZero[src]

Auto Trait Implementations

Blanket Implementations

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

type Owned = T

The resulting type after obtaining ownership.

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

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

impl<T> ToString for T where
    T: Display + ?Sized
[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.

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

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

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

impl<T> Typeable for T where
    T: Any

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> IntoCollection<T> for T

impl<T, I> AsResult<T, I> for T where
    I: Input, 

impl<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[src]