Struct router::Params [] [src]

pub struct Params {
    // some fields omitted
}

Methods

impl Params

fn new() -> Params

fn insert(&mut self, key: String, value: String)

fn find(&self, key: &str) -> Option<&str>

Trait Implementations

impl<'a> Index<&'a str> for Params

type Output = String

fn index(&self, index: &'a str) -> &String

Derived Implementations

impl Debug for Params

fn fmt(&self, __arg_0: &mut Formatter) -> Result<(), Error>

impl Clone for Params

fn clone(&self) -> Params

impl PartialEq<Params> for Params

fn eq(&self, __arg_0: &Params) -> bool

fn ne(&self, __arg_0: &Params) -> bool