pub struct QueryParam {
pub key: String,
pub value: Option<String>,
}Expand description
A parsed query parameter with an optional value.
Fields§
§key: String§value: Option<String>Trait Implementations§
Source§impl Clone for QueryParam
impl Clone for QueryParam
Source§fn clone(&self) -> QueryParam
fn clone(&self) -> QueryParam
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 QueryParam
impl Debug for QueryParam
Source§impl PartialEq for QueryParam
impl PartialEq for QueryParam
Source§fn eq(&self, other: &QueryParam) -> bool
fn eq(&self, other: &QueryParam) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for QueryParam
impl StructuralPartialEq for QueryParam
Auto Trait Implementations§
impl Freeze for QueryParam
impl RefUnwindSafe for QueryParam
impl Send for QueryParam
impl Sync for QueryParam
impl Unpin for QueryParam
impl UnsafeUnpin for QueryParam
impl UnwindSafe for QueryParam
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