[][src]Struct openapiv3::SchemaData

pub struct SchemaData {
    pub nullable: bool,
    pub read_only: bool,
    pub write_only: bool,
    pub deprecated: bool,
    pub external_docs: Option<ExternalDocumentation>,
    pub example: Option<Value>,
    pub title: Option<String>,
    pub description: Option<String>,
    pub discriminator: Option<Discriminator>,
    pub default: Option<Value>,
}

Fields

nullable: boolread_only: boolwrite_only: booldeprecated: boolexternal_docs: Option<ExternalDocumentation>example: Option<Value>title: Option<String>description: Option<String>discriminator: Option<Discriminator>default: Option<Value>

Trait Implementations

impl Clone for SchemaData[src]

impl Debug for SchemaData[src]

impl Default for SchemaData[src]

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

impl PartialEq<SchemaData> for SchemaData[src]

impl Serialize for SchemaData[src]

impl StructuralPartialEq for SchemaData[src]

Auto Trait Implementations

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: for<'de> 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.