[][src]Trait openapi_utils::TypeExt

pub trait TypeExt {
    fn is_bool(&self) -> bool;
fn is_integer(&self) -> bool;
fn is_number(&self) -> bool;
fn is_string(&self) -> bool; }

Extension methods for Type

Required methods

fn is_bool(&self) -> bool

true if this type is Type::Boolean

fn is_integer(&self) -> bool

true if this type is Type::Integer

fn is_number(&self) -> bool

true if this type is Type::Number

fn is_string(&self) -> bool

true if this type is Type::String

Loading content...

Implementations on Foreign Types

impl TypeExt for Type[src]

Loading content...

Implementors

Loading content...