Struct anicca::openapi::MediaType [−][src]
pub struct MediaType { pub schema: Option<ReferenceOr<Schema>>, pub example: Option<Value>, pub examples: BTreeMap<String, ReferenceOr<Example>>, pub encoding: BTreeMap<String, Encoding>, }
Fields
schema: Option<ReferenceOr<Schema>>
example: Option<Value>
examples: BTreeMap<String, ReferenceOr<Example>>
encoding: BTreeMap<String, Encoding>
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for MediaType
impl UnwindSafe for MediaType
Blanket Implementations
Mutably borrows from an owned value. Read more