[][src]Struct paperclip::v2::models::Items

pub struct Items {
    pub data_type: Option<DataType>,
    pub format: Option<DataTypeFormat>,
    pub items: Option<Box<Items>>,
    pub collection_format: Option<CollectionFormat>,
    pub enum_: Vec<Value>,
    pub maximum: Option<f32>,
    pub exclusive_maximum: Option<bool>,
    pub minimum: Option<f32>,
    pub exclusive_minimum: Option<bool>,
    pub max_length: Option<u32>,
    pub min_length: Option<u32>,
    pub pattern: Option<String>,
    pub max_items: Option<u32>,
    pub min_items: Option<u32>,
    pub unique_items: Option<bool>,
    pub multiple_of: Option<f32>,
}

Items object.

https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#itemsObject

Fields

data_type: Option<DataType>format: Option<DataTypeFormat>items: Option<Box<Items>>collection_format: Option<CollectionFormat>enum_: Vec<Value>maximum: Option<f32>exclusive_maximum: Option<bool>minimum: Option<f32>exclusive_minimum: Option<bool>max_length: Option<u32>min_length: Option<u32>pattern: Option<String>max_items: Option<u32>min_items: Option<u32>unique_items: Option<bool>multiple_of: Option<f32>

Trait Implementations

impl Clone for Items[src]

impl Debug for Items[src]

impl Default for Items[src]

impl<'de> Deserialize<'de> for Items[src]

impl PartialEq<Items> for Items[src]

impl Serialize for Items[src]

impl StructuralPartialEq for Items[src]

Auto Trait Implementations

impl RefUnwindSafe for Items

impl Send for Items

impl Sync for Items

impl Unpin for Items

impl UnwindSafe for Items

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,