Struct nickel::router::router::RouteResult [] [src]

pub struct RouteResult<'mw, D: 'mw = ()> {
    pub route: &'mw Route<D>,
    // some fields omitted

A RouteResult is what the router returns when match_route is called. It contains the matched route and also a params property holding a HashMap with the keys being the variable names and the value being the evaluated string


route: &'mw Route<D>


impl<'mw, D> RouteResult<'mw, D>

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