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.
Trait Implementations
Auto Trait Implementations
impl<T> RefUnwindSafe for ExtractParamOptions<T>
impl<T> Send for ExtractParamOptions<T>
impl<T> Sync for ExtractParamOptions<T>
impl<T> Unpin for ExtractParamOptions<T>
impl<T> UnwindSafe for ExtractParamOptions<T>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more