Struct fatcat_api_spec::router::Params [−][src]
pub struct Params { /* fields omitted */ }
Methods
impl Params
[src]
impl Params
pub fn new() -> Params
[src]
pub fn new() -> Params
pub fn insert(&mut self, key: String, value: String)
[src]
pub fn insert(&mut self, key: String, value: String)
pub fn find(&self, key: &str) -> Option<&str>
[src]
pub fn find(&self, key: &str) -> Option<&str>
ⓘImportant traits for Iter<'a>pub fn iter(&'a self) -> Iter<'a>
[src]
ⓘImportant traits for Iter<'a>
pub fn iter(&'a self) -> Iter<'a>
Trait Implementations
impl PartialEq<Params> for Params
[src]
impl PartialEq<Params> for Params
fn eq(&self, other: &Params) -> bool
[src]
fn eq(&self, other: &Params) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Params) -> bool
[src]
fn ne(&self, other: &Params) -> bool
This method tests for !=
.
impl Clone for Params
[src]
impl Clone for Params
fn clone(&self) -> Params
[src]
fn clone(&self) -> Params
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl<'a> Index<&'a str> for Params
[src]
impl<'a> Index<&'a str> for Params
type Output = String
The returned type after indexing.
fn index(&self, index: &'a str) -> &String
[src]
fn index(&self, index: &'a str) -> &String
Performs the indexing (container[index]
) operation.
impl<'a> IntoIterator for &'a Params
[src]
impl<'a> IntoIterator for &'a Params
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.
ⓘImportant traits for Iter<'a>fn into_iter(self) -> Iter<'a>
[src]
ⓘImportant traits for Iter<'a>
fn into_iter(self) -> Iter<'a>
Creates an iterator from a value. Read more
impl Debug for Params
[src]
impl Debug for Params