Trait openapi_utils::TypeExt
source · pub trait TypeExt {
// Required methods
fn is_bool(&self) -> bool;
fn is_integer(&self) -> bool;
fn is_number(&self) -> bool;
fn is_string(&self) -> bool;
}
Expand description
Extension methods for Type
Required Methods§
sourcefn is_integer(&self) -> bool
fn is_integer(&self) -> bool
true if this type is Type::Integer