[][src]Struct yup_oauth2::error::AuthError

pub struct AuthError {
    pub error: AuthErrorCode,
    pub error_description: Option<String>,
    pub error_uri: Option<String>,
}

Error returned by the authorization server. https://tools.ietf.org/html/rfc6749#section-5.2 https://tools.ietf.org/html/rfc8628#section-3.5

Fields

error: AuthErrorCode

Error code from the server.

error_description: Option<String>

Human-readable text providing additional information.

error_uri: Option<String>

A URI identifying a human-readable web page with information about the error.

Trait Implementations

impl Debug for AuthError[src]

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

impl Display for AuthError[src]

impl Eq for AuthError[src]

impl Error for AuthError[src]

impl From<AuthError> for Error[src]

impl PartialEq<AuthError> for AuthError[src]

impl StructuralEq for AuthError[src]

impl StructuralPartialEq for AuthError[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<Q, K> Equivalent<K> for Q where
    K: Borrow<Q> + ?Sized,
    Q: Eq + ?Sized
[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> 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.