Struct oauth2::TokenError
[−]
[src]
pub struct TokenError { pub error: ErrorType, pub error_description: Option<String>, pub error_uri: Option<String>, pub state: Option<String>, }
An error that occured after a failed authorization process.
The same structure is returned both for OAuth2 specific errors, but also for parsing/transport errors.
The latter can be differentiated by looking for the ErrorType::Other
variant.
Fields
error: ErrorType
error_description: Option<String>
error_uri: Option<String>
state: Option<String>
Trait Implementations
impl Debug for TokenError
[src]
impl PartialEq for TokenError
[src]
fn eq(&self, __arg_0: &TokenError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TokenError) -> bool
This method tests for !=
.