[−][src]Struct gitlab::api::FormParams
A structure for form parameters.
Implementations
impl<'a> FormParams<'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 into_body(self) -> Result<Option<(&'static str, Vec<u8>)>, BodyError>
[src]
Encode the parameters into a request body.
Trait Implementations
impl<'a> Clone for FormParams<'a>
[src]
fn clone(&self) -> FormParams<'a>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'a> Debug for FormParams<'a>
[src]
impl<'a> Default for FormParams<'a>
[src]
fn default() -> FormParams<'a>
[src]
Auto Trait Implementations
impl<'a> RefUnwindSafe for FormParams<'a>
impl<'a> Send for FormParams<'a>
impl<'a> Sync for FormParams<'a>
impl<'a> Unpin for FormParams<'a>
impl<'a> UnwindSafe for FormParams<'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>,