Struct http_header::QueryString
source · pub struct QueryString(/* private fields */);Expand description
Implementations§
source§impl QueryString
impl QueryString
sourcepub fn field(&self, key: &Data<UriQuery>) -> Option<&Data<UriQuery>>
pub fn field(&self, key: &Data<UriQuery>) -> Option<&Data<UriQuery>>
Gets a reference to the field for key
sourcepub fn field_mut(&mut self, key: &Data<UriQuery>) -> Option<&mut Data<UriQuery>>
pub fn field_mut(&mut self, key: &Data<UriQuery>) -> Option<&mut Data<UriQuery>>
Gets a mutable reference to field for key
sourcepub fn insert(&mut self, key: Data<UriQuery>, value: Data<UriQuery>)
pub fn insert(&mut self, key: Data<UriQuery>, value: Data<UriQuery>)
Inserts a new field with key and value
Trait Implementations§
source§impl Clone for QueryString
impl Clone for QueryString
source§fn clone(&self) -> QueryString
fn clone(&self) -> QueryString
Returns a copy 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 QueryString
impl Debug for QueryString
source§impl PartialEq for QueryString
impl PartialEq for QueryString
source§fn eq(&self, other: &QueryString) -> bool
fn eq(&self, other: &QueryString) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for QueryString
impl StructuralPartialEq for QueryString
Auto Trait Implementations§
impl Freeze for QueryString
impl RefUnwindSafe for QueryString
impl Send for QueryString
impl Sync for QueryString
impl Unpin for QueryString
impl UnwindSafe for QueryString
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)