Trait openapi_utils::NumberTypeExt[][src]

pub trait NumberTypeExt {
    fn min_max(&self) -> (f64, f64);
}
Expand description

Extends the NumberType with convenience methods

Required methods

Returns the minimum and maximum information as a tuple of f64 If there is no minimum or maximum, the minimum f64 or maximum f64 values are used.

Implementations on Foreign Types

Implementors