[][src]Struct conjure_http::PathParams

pub struct PathParams(_);

A data structure storing the path parameters of the request.

Methods

impl PathParams[src]

pub fn new() -> PathParams[src]

Creates a new, empty PathParams.

pub fn insert<T, U>(&mut self, key: T, value: U) where
    T: Into<String>,
    U: Into<String>, 
[src]

Inserts a parameter.

Important traits for Iter<'a>
pub fn iter(&self) -> Iter[src]

Returns an iterator over the parameters.

Trait Implementations

impl<'a> IntoIterator for &'a PathParams[src]

type IntoIter = Iter<'a>

Which kind of iterator are we turning this into?

type Item = (&'a str, &'a str)

The type of the elements being iterated over.

impl Clone for PathParams[src]

impl Default for PathParams[src]

impl Eq for PathParams[src]

impl PartialEq<PathParams> for PathParams[src]

impl Debug for PathParams[src]

impl<'a> Index<&'a str> for PathParams[src]

type Output = str

The returned type after indexing.

impl StructuralPartialEq for PathParams[src]

impl StructuralEq for PathParams[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]