Trait URIComponentsTrait

Source
pub trait URIComponentsTrait {
    // Required methods
    fn get(&self, key: &str) -> Option<&str>;
    fn get_string(&self, key: &str) -> Option<String>;
    fn kind(&self) -> Option<URIKind>;

    // Provided methods
    fn as_doc(&self) -> Option<DocURIComponents> { ... }
    fn as_comps(&self) -> Option<URIComponents> { ... }
    fn parse(&self) -> Option<URI> { ... }
}

Required Methods§

Source

fn get(&self, key: &str) -> Option<&str>

Source

fn get_string(&self, key: &str) -> Option<String>

Source

fn kind(&self) -> Option<URIKind>

Provided Methods§

Source

fn as_doc(&self) -> Option<DocURIComponents>

Source

fn as_comps(&self) -> Option<URIComponents>

Source

fn parse(&self) -> Option<URI>

Available on crate feature ssr only.

Implementations on Foreign Types§

Source§

impl URIComponentsTrait for ParamsMap

Source§

fn get(&self, key: &str) -> Option<&str>

Source§

fn get_string(&self, key: &str) -> Option<String>

Source§

fn kind(&self) -> Option<URIKind>

Implementors§