[][src]Struct iref::UserInfo

pub struct UserInfo<'a> { /* fields omitted */ }

Implementations

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

pub fn as_ref(&self) -> &[u8][src]

pub fn as_str(&self) -> &str[src]

Get the underlying userinfo slice as a string slice.

pub fn as_pct_str(&self) -> &PctStr[src]

Get the underlying userinfo slice as a percent-encoded string slice.

pub fn is_empty(&self) -> bool[src]

Checks if the userinfo is empty.

Trait Implementations

impl<'a> Clone for UserInfo<'a>[src]

impl<'a> Copy for UserInfo<'a>[src]

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

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

impl<'a> Eq for UserInfo<'a>[src]

impl<'a> Hash for UserInfo<'a>[src]

impl<'a> Ord for UserInfo<'a>[src]

impl<'a> PartialEq<&'a str> for UserInfo<'a>[src]

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

impl<'a> PartialOrd<UserInfo<'a>> for UserInfo<'a>[src]

impl<'a> TryFrom<&'a str> for UserInfo<'a>[src]

type Error = Error

The type returned in the event of a conversion error.

Auto Trait Implementations

impl<'a> RefUnwindSafe for UserInfo<'a>

impl<'a> Send for UserInfo<'a>

impl<'a> Sync for UserInfo<'a>

impl<'a> Unpin for UserInfo<'a>

impl<'a> UnwindSafe for UserInfo<'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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[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.