pub enum QueryStyle {
Form {
exploded: bool,
},
SpaceDelimited,
PipeDelimited,
DeepObject,
}Expand description
Styles that describe how to format URL query parameters.
Variants§
Form
Multiple values formatted as repeated parameters (if exploded), or comma-separated values (if non-exploded).
The exploded form style is the default.
SpaceDelimited
Multiple values separated by spaces.
PipeDelimited
Multiple values separated by pipes.
DeepObject
Bracket notation for nested structures.
Trait Implementations§
Source§impl Clone for QueryStyle
impl Clone for QueryStyle
Source§fn clone(&self) -> QueryStyle
fn clone(&self) -> QueryStyle
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 QueryStyle
impl Debug for QueryStyle
Source§impl Default for QueryStyle
impl Default for QueryStyle
Source§impl PartialEq for QueryStyle
impl PartialEq for QueryStyle
impl Copy for QueryStyle
impl Eq for QueryStyle
impl StructuralPartialEq for QueryStyle
Auto Trait Implementations§
impl Freeze for QueryStyle
impl RefUnwindSafe for QueryStyle
impl Send for QueryStyle
impl Sync for QueryStyle
impl Unpin for QueryStyle
impl UnwindSafe for QueryStyle
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more