Struct inth_oauth2_async::error::OAuth2Error [−][src]
pub struct OAuth2Error { pub code: OAuth2ErrorCode, pub description: Option<String>, pub uri: Option<String>, }
Expand description
OAuth 2.0 error.
Fields
code: OAuth2ErrorCode
Error code.
description: Option<String>
Human-readable text providing additional information about the error.
uri: Option<String>
A URI identifying a human-readable web page with information about the error.
Trait Implementations
Performs the conversion.
Parse a JSON response.
Parse a JSON response, inheriting missing values from the previous instance. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for OAuth2Error
impl Send for OAuth2Error
impl Sync for OAuth2Error
impl Unpin for OAuth2Error
impl UnwindSafe for OAuth2Error
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more