pub enum AccessTokenResponseErrorBodyError {
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
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
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)
Trait Implementations§
source§impl Clone for ErrorBodyError
impl Clone for ErrorBodyError
source§fn clone(&self) -> ErrorBodyError
fn clone(&self) -> ErrorBodyError
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ErrorBodyError
impl Debug for ErrorBodyError
source§impl Default for ErrorBodyError
impl Default for ErrorBodyError
source§fn default() -> ErrorBodyError
fn default() -> ErrorBodyError
source§impl<'de> Deserialize<'de> for ErrorBodyError
impl<'de> Deserialize<'de> for ErrorBodyError
source§fn deserialize<D>(
deserializer: D
) -> Result<ErrorBodyError, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D
) -> Result<ErrorBodyError, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
source§impl Display for ErrorBodyError
impl Display for ErrorBodyError
source§impl FromStr for ErrorBodyError
impl FromStr for ErrorBodyError
source§impl PartialEq<ErrorBodyError> for ErrorBodyError
impl PartialEq<ErrorBodyError> for ErrorBodyError
source§fn eq(&self, other: &ErrorBodyError) -> bool
fn eq(&self, other: &ErrorBodyError) -> bool
self
and other
values to be equal, and is used
by ==
.