Enum oauth2_core::access_token_response::ErrorBodyError [−][src]
pub enum ErrorBodyError {
Show 14 variants
InvalidRequest,
InvalidClient,
InvalidGrant,
UnauthorizedClient,
UnsupportedGrantType,
InvalidScope,
UnsupportedResponseType,
AuthorizationPending,
SlowDown,
ExpiredToken,
AccessDenied,
ServerError,
TemporarilyUnavailable,
Other(String),
}Variants
InvalidRequest
https://datatracker.ietf.org/doc/html/rfc6749#section-5.2
InvalidClient
https://datatracker.ietf.org/doc/html/rfc6749#section-5.2
InvalidGrant
https://datatracker.ietf.org/doc/html/rfc6749#section-5.2
UnauthorizedClient
https://datatracker.ietf.org/doc/html/rfc6749#section-5.2
UnsupportedGrantType
https://datatracker.ietf.org/doc/html/rfc6749#section-5.2
InvalidScope
https://datatracker.ietf.org/doc/html/rfc6749#section-5.2
UnsupportedResponseType
https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.2.1
AuthorizationPending
https://datatracker.ietf.org/doc/html/rfc8628#section-3.5
SlowDown
https://datatracker.ietf.org/doc/html/rfc8628#section-3.5
ExpiredToken
https://datatracker.ietf.org/doc/html/rfc8628#section-3.5
AccessDenied
https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.2.1 https://datatracker.ietf.org/doc/html/rfc6749#section-4.2.2.1 https://datatracker.ietf.org/doc/html/rfc8628#section-3.5
ServerError
https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.2.1 https://datatracker.ietf.org/doc/html/rfc6749#section-4.2.2.1
TemporarilyUnavailable
https://datatracker.ietf.org/doc/html/rfc6749#section-4.1.2.1 https://datatracker.ietf.org/doc/html/rfc6749#section-4.2.2.1
Other(String)
Tuple Fields
0: StringTrait Implementations
Deserialize this value from the given Serde deserializer. 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 ErrorBodyError
impl Send for ErrorBodyError
impl Sync for ErrorBodyError
impl Unpin for ErrorBodyError
impl UnwindSafe for ErrorBodyError
Blanket Implementations
Mutably borrows from an owned value. Read more