kvarn::comprash

Struct PathQuery

source
pub struct PathQuery { /* private fields */ }
Expand description

A path an optional query used in UriKey

Represented as a String with a usize indicating the start of query.

Implementations§

source§

impl PathQuery

source

pub fn path(&self) -> &str

Get the path segment.

source

pub fn query(&self) -> Op