Struct openapiv3::SchemaData [−][src]
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>,
pub extensions: IndexMap<String, Value>,
}
Fields
nullable: bool
read_only: bool
write_only: bool
deprecated: bool
external_docs: Option<ExternalDocumentation>
example: Option<Value>
title: Option<String>
description: Option<String>
discriminator: Option<Discriminator>
default: Option<Value>
extensions: IndexMap<String, Value>
Inline extensions to this object.
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for SchemaData
impl Send for SchemaData
impl Sync for SchemaData
impl Unpin for SchemaData
impl UnwindSafe for SchemaData
Blanket Implementations
Mutably borrows from an owned value. Read more