path

Function path 

Source
pub fn path(v: &str) -> Result<Pattern>
Expand description

Construct a route pattern using a URL path Examples:

path("/hello")?;
path("/users/:id")?;