[][src]Struct validators::integer::Integer

pub struct Integer { /* fields omitted */ }

Methods

impl Integer[src]

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

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

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

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

pub unsafe fn from_i128_unchecked(integer: i128) -> Integer[src]

Trait Implementations

impl Validated for Integer[src]

impl From<IntegerAny> for Integer[src]

impl From<IntegerGteZero> for Integer[src]

impl From<IntegerGtZero> for Integer[src]

impl From<IntegerLteZero> for Integer[src]

impl From<IntegerLtZero> for Integer[src]

impl PartialEq<Integer> for Integer[src]

impl Clone for Integer[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Eq for Integer[src]

impl Deref for Integer[src]

type Target = i128

The resulting type after dereferencing.

impl Display for Integer[src]

impl Debug for Integer[src]

impl Hash for Integer[src]

fn hash_slice<H>(data: &[Self], state: &mut H) where
    H: Hasher
1.3.0[src]

Feeds a slice of this type into the given [Hasher]. Read more

Auto Trait Implementations

impl Unpin for Integer

impl Sync for Integer

impl Send for Integer

impl RefUnwindSafe for Integer

impl UnwindSafe for Integer

Blanket Implementations

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

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> 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> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<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

fn get_type(&self) -> TypeId

Get the TypeId of this object.

impl<T> IntoCollection<T> for T

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

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