pub enum ListFormat {
Indices,
Brackets,
Repeat,
Comma,
}Expand description
The list notation used when encoding arrays.
Variants§
Indices
Encode arrays as a[0]=x&a[1]=y.
Brackets
Encode arrays as a[]=x&a[]=y.
Repeat
Encode arrays as a=x&a=y.
Comma
Encode arrays as a=x,y.
Trait Implementations§
Source§impl Clone for ListFormat
impl Clone for ListFormat
Source§fn clone(&self) -> ListFormat
fn clone(&self) -> ListFormat
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 moreSource§impl Debug for ListFormat
impl Debug for ListFormat
Source§impl Default for ListFormat
impl Default for ListFormat
Source§fn default() -> ListFormat
fn default() -> ListFormat
Returns the “default value” for a type. Read more
Source§impl PartialEq for ListFormat
impl PartialEq for ListFormat
Source§fn eq(&self, other: &ListFormat) -> bool
fn eq(&self, other: &ListFormat) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ListFormat
impl Eq for ListFormat
impl StructuralPartialEq for ListFormat
Auto Trait Implementations§
impl Freeze for ListFormat
impl RefUnwindSafe for ListFormat
impl Send for ListFormat
impl Sync for ListFormat
impl Unpin for ListFormat
impl UnsafeUnpin for ListFormat
impl UnwindSafe for ListFormat
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.