[][src]Struct wdg_uri::URI

pub struct URI<'a> {
    pub scheme: Scheme,
    pub authority: Option<Authority<'a>>,
    pub path: Path,
    pub query: Option<Query>,
}

Fields

scheme: Schemeauthority: Option<Authority<'a>>path: Pathquery: Option<Query>

Methods

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

pub fn new(scheme: Scheme, path: Path) -> URI<'a>[src]

pub fn set_authority(&mut self, authority: Authority<'a>)[src]

pub fn set_query(&mut self, query: Query)[src]

Trait Implementations

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

Auto Trait Implementations

impl<'a> RefUnwindSafe for URI<'a>

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

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

impl<'a> Unpin for URI<'a>

impl<'a> UnwindSafe for URI<'a>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.