pub enum ParameterStyle {
Matrix,
Label,
Form,
Simple,
SpaceDelimited,
PipeDelimited,
DeepObject,
}Variants§
Matrix
Path-style parameters defined by RFC6570
Label
Label style parameters defined by RFC6570
Form
Form style parameters defined by RFC6570. This option replaces collecztionFormat with a csv (when explode is false) or multi (when explode is true) value from OpenAPI 2.0.
Simple
Simple style parameters defined by RFC6570. This option replaces collectionFormat with a csv value from OpenAPI 2.0.
SpaceDelimited
Space separated array values. This option replaces collectionFormat equal to ssv from OpenAPI 2.0.
PipeDelimited
Pipe separated array values. This option replaces collectionFormat equal to pipes from OpenAPI 2.0.
DeepObject
Provides a simple way of rendering nested objects using form parameters.
Trait Implementations§
Source§impl Clone for ParameterStyle
impl Clone for ParameterStyle
Source§fn clone(&self) -> ParameterStyle
fn clone(&self) -> ParameterStyle
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ParameterStyle
impl Debug for ParameterStyle
Auto Trait Implementations§
impl Freeze for ParameterStyle
impl RefUnwindSafe for ParameterStyle
impl Send for ParameterStyle
impl Sync for ParameterStyle
impl Unpin for ParameterStyle
impl UnwindSafe for ParameterStyle
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more