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 strThe name of this parameter.
default_value: Option<fn() -> T>The default value of this parameter.
explode: boolWhen 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.