Struct inth_oauth2::error::OAuth2Error [] [src]

pub struct OAuth2Error {
    pub code: OAuth2ErrorCode,
    pub description: Option<String>,
    pub uri: Option<String>,
}

OAuth 2.0 error.

See RFC 6749, section 5.2.

Fields

Error code.

Human-readable text providing additional information about the error.

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

Trait Implementations

impl Debug for OAuth2Error
[src]

Formats the value using the given formatter.

impl Clone for OAuth2Error
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for OAuth2Error
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for OAuth2Error
[src]

impl Display for OAuth2Error
[src]

Formats the value using the given formatter.

impl Error for OAuth2Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl FromResponse for OAuth2Error
[src]

Parse a JSON response.

Parse a JSON response, inheriting missing values from the previous instance. Read more