pub enum EmptyQueryValue {
Preserve,
Always,
Never,
}Expand description
Controls how query parameters with empty values are formatted.
Variants§
Preserve
Keep the original format (?key stays ?key, ?key= stays ?key=).
Always
Always include = for empty values (?key becomes ?key=).
Never
Never include = for empty values (?key= becomes ?key).
Trait Implementations§
Source§impl Clone for EmptyQueryValue
impl Clone for EmptyQueryValue
Source§fn clone(&self) -> EmptyQueryValue
fn clone(&self) -> EmptyQueryValue
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 EmptyQueryValue
impl Debug for EmptyQueryValue
Source§impl PartialEq for EmptyQueryValue
impl PartialEq for EmptyQueryValue
impl Copy for EmptyQueryValue
impl Eq for EmptyQueryValue
impl StructuralPartialEq for EmptyQueryValue
Auto Trait Implementations§
impl Freeze for EmptyQueryValue
impl RefUnwindSafe for EmptyQueryValue
impl Send for EmptyQueryValue
impl Sync for EmptyQueryValue
impl Unpin for EmptyQueryValue
impl UnsafeUnpin for EmptyQueryValue
impl UnwindSafe for EmptyQueryValue
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