Struct openapiv3::MediaType [−][src]
pub struct MediaType { pub schema: Option<ReferenceOr<Schema>>, pub example: Option<Value>, pub examples: IndexMap<String, ReferenceOr<Example>>, pub encoding: IndexMap<String, Encoding>, }
Fields
schema: Option<ReferenceOr<Schema>>
example: Option<Value>
examples: IndexMap<String, ReferenceOr<Example>>
encoding: IndexMap<String, Encoding>
Trait Implementations
impl<'de> Deserialize<'de> for MediaType
[src]
impl<'de> Deserialize<'de> for MediaType
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl StructuralPartialEq for MediaType
[src]
impl StructuralPartialEq for MediaType
[src]Auto Trait Implementations
impl RefUnwindSafe for MediaType
impl RefUnwindSafe for MediaType
impl UnwindSafe for MediaType
impl UnwindSafe for MediaType
Blanket Implementations
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]