Type Alias SinglePath

Source
pub type SinglePath = Path<fn(Request, Response)>;

Aliased Type§

pub struct SinglePath {
    pub name: String,
    pub view: fn(Request, Response),
}

Fields§

§name: String§view: fn(Request, Response)