[−][src]Struct gitlab::api::QueryParams
A structure for query parameters.
Implementations
impl<'a> QueryParams<'a>
[src]
pub fn push<'b, K, V>(&mut self, key: K, value: V) -> &mut Self where
K: Into<Cow<'a, str>>,
V: ParamValue<'b>,
'b: 'a,
[src]
K: Into<Cow<'a, str>>,
V: ParamValue<'b>,
'b: 'a,
Push a single parameter.
pub fn push_opt<'b, K, V>(&mut self, key: K, value: Option<V>) -> &mut Self where
K: Into<Cow<'a, str>>,
V: ParamValue<'b>,
'b: 'a,
[src]
K: Into<Cow<'a, str>>,
V: ParamValue<'b>,
'b: 'a,
Push a single parameter.
pub fn extend<'b, I, K, V>(&mut self, iter: I) -> &mut Self where
I: Iterator<Item = (K, V)>,
K: Into<Cow<'a, str>>,
V: ParamValue<'b>,
'b: 'a,
[src]
I: Iterator<Item = (K, V)>,
K: Into<Cow<'a, str>>,
V: ParamValue<'b>,
'b: 'a,
Push a set of parameters.
pub fn add_to_url(&self, url: &mut Url)
[src]
Add the parameters to a URL.
Trait Implementations
impl<'a> Clone for QueryParams<'a>
[src]
fn clone(&self) -> QueryParams<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for QueryParams<'a>
[src]
impl<'a> Default for QueryParams<'a>
[src]
fn default() -> QueryParams<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for QueryParams<'a>
impl<'a> Send for QueryParams<'a>
impl<'a> Sync for QueryParams<'a>
impl<'a> Unpin for QueryParams<'a>
impl<'a> UnwindSafe for QueryParams<'a>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
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, 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>,