Struct poem_openapi::ExtractParamOptions
source · pub struct ExtractParamOptions<T> {
pub name: &'static str,
pub default_value: Option<fn() -> T>,
pub explode: bool,
}
Expand description
Options for the parameter extractor.
Fields§
§name: &'static str
The name of this parameter.
default_value: Option<fn() -> T>
The default value of this parameter.
explode: bool
When this is true
, parameter values of type array or object generate
separate parameters for each value of the array or key-value pair of the
map.