Struct rustless::framework::path::Path [] [src]

pub struct Path {
    pub path: String,
    pub params: Vec<String>,
    // some fields omitted
}

Fields

path: String params: Vec<String>

Methods

impl Path
[src]

fn apply_captures(&self, params: &mut JsonValue, captures: Captures)

fn is_match<'a>(&'a self, path: &'a str) -> Option<Captures>

fn parse(path: &str, endpoint: bool) -> Result<PathString>