Enum rweb_openapi::v3_0::ParameterRepresentation [−][src]
pub enum ParameterRepresentation { Simple { schema: ComponentOrInlineSchema, }, Content { content: IndexMap<Str, MediaType>, }, }
Expand description
The schema defining the type used for the parameter or a map containing the representations for the parameter.
Variants
Fields of Simple
schema: ComponentOrInlineSchema
The schema defining the type used for the parameter.
Fields of 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 ParameterRepresentation
impl Send for ParameterRepresentation
impl Sync for ParameterRepresentation
impl Unpin for ParameterRepresentation
impl UnwindSafe for ParameterRepresentation
Blanket Implementations
Mutably borrows from an owned value. Read more