[−][src]Struct http_header::QueryString
Methods
impl QueryString
[src]
pub fn new() -> Self
[src]
Create a new QueryUri
instance
pub fn field(&self, key: &Data<UriQuery>) -> Option<&Data<UriQuery>>
[src]
Gets a reference to the field for key
pub fn field_mut(&mut self, key: &Data<UriQuery>) -> Option<&mut Data<UriQuery>>
[src]
Gets a mutable reference to field for key
pub fn insert(&mut self, key: Data<UriQuery>, value: Data<UriQuery>)
[src]
Inserts a new field with key
and value
pub fn fields(&self) -> &HashMap<Data<UriQuery>, Data<UriQuery>>
[src]
A reference to the fields
pub fn fields_mut(&mut self) -> &mut HashMap<Data<UriQuery>, Data<UriQuery>>
[src]
A mutable reference to the fields
pub fn to_string(&self) -> String
[src]
Creates a query string from the stored key-value pairs
Trait Implementations
impl Eq for QueryString
[src]
impl Clone for QueryString
[src]
fn clone(&self) -> QueryString
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl PartialEq<QueryString> for QueryString
[src]
fn eq(&self, other: &QueryString) -> bool
[src]
fn ne(&self, other: &QueryString) -> bool
[src]
impl Debug for QueryString
[src]
impl TryFrom<Data<Uri>> for QueryString
[src]
Auto Trait Implementations
impl Sync for QueryString
impl Send for QueryString
impl Unpin for QueryString
impl UnwindSafe for QueryString
impl RefUnwindSafe for QueryString
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,