Enum openapiv3::Parameter [−][src]
pub enum Parameter { Query { parameter_data: ParameterData, allow_reserved: bool, style: QueryStyle, allow_empty_value: Option<bool>, }, Header { parameter_data: ParameterData, style: HeaderStyle, }, Path { parameter_data: ParameterData, style: PathStyle, }, Cookie { parameter_data: ParameterData, style: CookieStyle, }, }
Variants
Show fields
Fields of Query
parameter_data: ParameterData
allow_reserved: bool
style: QueryStyle
allow_empty_value: Option<bool>
Sets the ability to pass empty-valued parameters. This is valid only for query parameters and allows sending a parameter with an empty value. Default value is false. If style is used, and if behavior is n/a (cannot be serialized), the value of allowEmptyValue SHALL be ignored.
Show fields
Fields of Header
parameter_data: ParameterData
style: HeaderStyle
Show fields
Fields of Path
parameter_data: ParameterData
style: PathStyle
Show fields
Fields of Cookie
parameter_data: ParameterData
style: CookieStyle
Trait Implementations
impl<'de> Deserialize<'de> for Parameter
[src]
impl<'de> Deserialize<'de> for Parameter
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl StructuralPartialEq for Parameter
[src]
impl StructuralPartialEq for Parameter
[src]Auto Trait Implementations
impl RefUnwindSafe for Parameter
impl RefUnwindSafe for Parameter
impl UnwindSafe for Parameter
impl UnwindSafe for Parameter
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]