Enum openapiv3::ParameterSchemaOrContent [−][src]
pub enum ParameterSchemaOrContent {
Schema(ReferenceOr<Schema>),
Content(Content),
}
Variants
Schema(ReferenceOr<Schema>)
The schema defining the type used for the parameter.
Tuple Fields of Schema
0: ReferenceOr<Schema>
Content(Content)
A map containing the representations for the parameter. The key is the media type and the value describes it. The map MUST only contain one entry.
Tuple Fields of Content
0: Content
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
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 ParameterSchemaOrContent
impl Send for ParameterSchemaOrContent
impl Sync for ParameterSchemaOrContent
impl Unpin for ParameterSchemaOrContent
impl UnwindSafe for ParameterSchemaOrContent
Blanket Implementations
Mutably borrows from an owned value. Read more