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)
Trait Implementations
sourceimpl Clone for ErrorBodyError
impl Clone for ErrorBodyError
sourcefn clone(&self) -> ErrorBodyError
fn clone(&self) -> ErrorBodyError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ErrorBodyError
impl Debug for ErrorBodyError
sourceimpl Default for ErrorBodyError
impl Default for ErrorBodyError
sourceimpl<'de> Deserialize<'de> for ErrorBodyError
impl<'de> Deserialize<'de> for ErrorBodyError
sourcefn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Display for ErrorBodyError
impl Display for ErrorBodyError
sourceimpl FromStr for ErrorBodyError
impl FromStr for ErrorBodyError
sourceimpl PartialEq<ErrorBodyError> for ErrorBodyError
impl PartialEq<ErrorBodyError> for ErrorBodyError
sourcefn eq(&self, other: &ErrorBodyError) -> bool
fn eq(&self, other: &ErrorBodyError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ErrorBodyError) -> bool
fn ne(&self, other: &ErrorBodyError) -> bool
This method tests for !=
.
sourceimpl Serialize for ErrorBodyError
impl Serialize for ErrorBodyError
sourceimpl TryFrom<&'_ str> for ErrorBodyError
impl TryFrom<&'_ str> for ErrorBodyError
sourceimpl TryFrom<String> for ErrorBodyError
impl TryFrom<String> for ErrorBodyError
impl Eq for ErrorBodyError
impl StructuralEq for ErrorBodyError
impl StructuralPartialEq for ErrorBodyError
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more