pub enum QueryStyleKind {
Form,
Space,
Pipe,
DeepObject,
}Expand description
How a query parameter’s array (or object) value is delimited on the wire,
derived from the OpenAPI style keyword for in: query parameters.
Only meaningful for query params; other locations default to Self::Form.
DeepObject is recognized but not yet serialized per-spec — it falls back to
default serialization with a build warning.
Variants§
Form
style: form — repeated keys when exploded, comma-joined otherwise.
Space
style: spaceDelimited — space-joined array values (when not exploded).
Pipe
style: pipeDelimited — pipe-joined array values (when not exploded).
DeepObject
style: deepObject — nested object rendering (unsupported; warns).
Implementations§
Trait Implementations§
Source§impl Clone for QueryStyleKind
impl Clone for QueryStyleKind
Source§fn clone(&self) -> QueryStyleKind
fn clone(&self) -> QueryStyleKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for QueryStyleKind
Source§impl Debug for QueryStyleKind
impl Debug for QueryStyleKind
impl Eq for QueryStyleKind
Source§impl PartialEq for QueryStyleKind
impl PartialEq for QueryStyleKind
Source§fn eq(&self, other: &QueryStyleKind) -> bool
fn eq(&self, other: &QueryStyleKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for QueryStyleKind
Auto Trait Implementations§
impl Freeze for QueryStyleKind
impl RefUnwindSafe for QueryStyleKind
impl Send for QueryStyleKind
impl Sync for QueryStyleKind
impl Unpin for QueryStyleKind
impl UnsafeUnpin for QueryStyleKind
impl UnwindSafe for QueryStyleKind
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.