Struct iron_mountrouter::StrippedUrl [] [src]

pub struct StrippedUrl;

StrippedUrl serves as a key in request extensions. It contains non-matched part of url if route was mounted

let ref stripped_url = req.extensions.get::<StrippedUrl>()

Trait Implementations

impl Key for StrippedUrl

type Value = Url

Derived Implementations

impl Clone for StrippedUrl

fn clone(&self) -> StrippedUrl

fn clone_from(&mut self, source: &Self)

impl Copy for StrippedUrl