[][src]Trait paperclip::v2::schema::TypedData

pub trait TypedData {
    fn data_type() -> DataType { ... }
fn format() -> Option<DataTypeFormat> { ... } }

Trait for returning OpenAPI data type and format for the implementor.

Provided methods

fn data_type() -> DataType

The OpenAPI type for this implementor.

fn format() -> Option<DataTypeFormat>

The optional OpenAPI data format for this implementor.

Loading content...

Implementations on Foreign Types

impl TypedData for u8[src]

impl TypedData for i128[src]

impl TypedData for Uuid[src]

impl<'a, T> TypedData for &'a T where
    T: TypedData
[src]

impl TypedData for f32[src]

impl TypedData for NaiveDateTime[src]

impl TypedData for i32[src]

impl TypedData for i8[src]

impl TypedData for i16[src]

impl<'a> TypedData for &'a str[src]

impl TypedData for bool[src]

impl TypedData for char[src]

impl TypedData for u64[src]

impl TypedData for u16[src]

impl TypedData for isize[src]

impl TypedData for String[src]

impl TypedData for i64[src]

impl TypedData for u128[src]

impl TypedData for f64[src]

impl TypedData for usize[src]

impl TypedData for u32[src]

Loading content...

Implementors

Loading content...