Struct libqaul::users::UserAuth[][src]

pub struct UserAuth(pub Identity, pub String);

Wrapper to encode User authentication state

This structure can be aquired by challenging an authentication endpoint, such as User::login to yield a token. If a session for this Identity already exists, it will be re-used.

Trait Implementations

impl Clone for UserAuth[src]

impl Debug for UserAuth[src]

impl<'de> Deserialize<'de> for UserAuth[src]

impl Eq for UserAuth[src]

impl Hash for UserAuth[src]

impl Ord for UserAuth[src]

impl PartialEq<UserAuth> for UserAuth[src]

impl PartialOrd<UserAuth> for UserAuth[src]

impl Serialize for UserAuth[src]

impl StructuralEq for UserAuth[src]

impl StructuralPartialEq for UserAuth[src]

Auto Trait Implementations

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> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

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

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

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

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>, 

impl<T> WithSubscriber for T[src]