Struct quire::validate::Numeric[][src]

pub struct Numeric<T: PrimInt = i64> { /* fields omitted */ }

Numeric validator

Similar to Scalar but validates that value is a number and also allows limit the range of the value.

Methods

impl<T: PrimInt> Numeric<T>
[src]

Trait Implementations

impl<T: Debug + PrimInt> Debug for Numeric<T>
[src]

Formats the value using the given formatter. Read more

impl Validator for Numeric
[src]

Auto Trait Implementations

impl<T> Send for Numeric<T> where
    T: Send

impl<T> Sync for Numeric<T> where
    T: Sync