[−][src]Struct conjure_http::query_params::QueryParams
A data structure storing the query parameters of a request.
Methods
impl QueryParams
[src]
pub fn new() -> QueryParams
[src]
Creates a new, empty QueryParams
.
pub fn insert<T, U>(&mut self, key: T, value: U) where
T: Into<String>,
U: Into<String>,
[src]
T: Into<String>,
U: Into<String>,
Inserts a parameter.
If the key already exists, the new value will be added to the existing values.
pub fn insert_all<T, U, I>(&mut self, key: T, values: I) where
T: Into<String>,
U: Into<String>,
I: IntoIterator<Item = U>,
[src]
T: Into<String>,
U: Into<String>,
I: IntoIterator<Item = U>,
Inserts multiple parameters.
If the key already exists, the new values will be added to the existing values.
ⓘImportant traits for Iter<'a>pub fn iter(&self) -> Iter
[src]
ⓘImportant traits for Iter<'a>
Returns an iterator over the parameters.
Trait Implementations
impl<'a> IntoIterator for &'a QueryParams
[src]
type Item = (&'a str, &'a Values)
The type of the elements being iterated over.
type IntoIter = Iter<'a>
Which kind of iterator are we turning this into?
ⓘImportant traits for Iter<'a>fn into_iter(self) -> Iter<'a>
[src]
ⓘImportant traits for Iter<'a>
impl Clone for QueryParams
[src]
fn clone(&self) -> QueryParams
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for QueryParams
[src]
fn default() -> QueryParams
[src]
impl Eq for QueryParams
[src]
impl PartialEq<QueryParams> for QueryParams
[src]
fn eq(&self, other: &QueryParams) -> bool
[src]
fn ne(&self, other: &QueryParams) -> bool
[src]
impl Debug for QueryParams
[src]
impl<'a> Index<&'a str> for QueryParams
[src]
impl StructuralPartialEq for QueryParams
[src]
impl StructuralEq for QueryParams
[src]
Auto Trait Implementations
impl Send for QueryParams
impl Sync for QueryParams
impl Unpin for QueryParams
impl UnwindSafe for QueryParams
impl RefUnwindSafe for QueryParams
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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, 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> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
ⓘImportant traits for &'_ mut Ffn borrow_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'_ mut F
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,