[−][src]Enum oas3::MediaTypeExamples
Variants
Example
Example of the media type. The example object SHOULD be in the correct format as
specified by the media type. The example
field is mutually exclusive of the
examples
field. Furthermore, if referencing a schema
which contains an example,
the example
value SHALL override the example provided by the schema.
Fields of Example
example: Value
Examples
Examples of the media type. Each example object SHOULD match the media type and
specified schema if present. The examples
field is mutually exclusive of
the example
field. Furthermore, if referencing a schema
which contains an
example, the examples
value SHALL override the example provided by the schema.
Fields of Examples
examples: BTreeMap<String, ObjectOrReference<Example>>
Methods
impl MediaTypeExamples
[src]
Trait Implementations
impl Clone for MediaTypeExamples
[src]
fn clone(&self) -> MediaTypeExamples
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq<MediaTypeExamples> for MediaTypeExamples
[src]
fn eq(&self, other: &MediaTypeExamples) -> bool
[src]
fn ne(&self, other: &MediaTypeExamples) -> bool
[src]
impl Debug for MediaTypeExamples
[src]
impl Serialize for MediaTypeExamples
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'de> Deserialize<'de> for MediaTypeExamples
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
Auto Trait Implementations
impl Sync for MediaTypeExamples
impl Send for MediaTypeExamples
impl Unpin for MediaTypeExamples
impl RefUnwindSafe for MediaTypeExamples
impl UnwindSafe for MediaTypeExamples
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,