[][src]Struct wdg_uri::URI

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

Fields

scheme: Scheme<'a>authority: Option<Authority<'a>>path: Path<'a>query: Option<Query<'a>>

Methods

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

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

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

pub fn set_query(&mut self, query: Query<'a>)[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.