Struct uri_parser::URI[][src]

pub struct URI<'a> {
    pub scheme: &'a str,
    pub user: Option<User<'a>>,
    pub host: Option<&'a str>,
    pub port: Option<u16>,
    pub path: Option<&'a Path>,
    pub query: Option<HashMap<&'a str, &'a str>>,
    pub hash: Option<&'a str>,
}

Represents parsed URI structure URI parts are scheme, user (struct with name and password), host, port path (represented as std::path::Path), query (HashMap of key, value pairs) and hash (fragment)

Fields

Trait Implementations

impl<'a> Debug for URI<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> PartialEq for URI<'a>
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<'a> Display for URI<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for URI<'a>

impl<'a> Sync for URI<'a>