[][src]Struct oauth2::ErrorResponse

pub struct ErrorResponse {
    pub error: ErrorField,
    pub error_description: Option<String>,
    pub error_uri: Option<String>,
}

Error response returned by server after requesting an access token.

The fields in this structure are defined in Section 5.2 of RFC 6749.

Fields

error: ErrorField

A single ASCII error code.

error_description: Option<String>

Human-readable ASCII text providing additional information, used to assist the client developer in understanding the error that occurred.

error_uri: Option<String>

A URI identifying a human-readable web page with information about the error, used to provide the client developer with additional information about the error.

Trait Implementations

impl Clone for ErrorResponse[src]

impl Debug for ErrorResponse[src]

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

impl Display for ErrorResponse[src]

impl Error for ErrorResponse[src]

impl PartialEq<ErrorResponse> for ErrorResponse[src]

impl Serialize for ErrorResponse[src]

impl StructuralPartialEq for ErrorResponse[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: Deserialize<'de>, 
[src]

impl<T> From<T> 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> 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.

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