pub enum OAuthTokenDeviceCodePendingErrorError {
AccessDenied,
AuthorizationPending,
ExpiredToken,
SlowDown,
}Expand description
The error code indicating why the token request failed.
JSON schema
{
"description": "The error code indicating why the token request
failed.",
"type": "string",
"enum": [
"access_denied",
"authorization_pending",
"expired_token",
"slow_down"
]
}Variants§
Trait Implementations§
Source§impl Clone for OAuthTokenDeviceCodePendingErrorError
impl Clone for OAuthTokenDeviceCodePendingErrorError
Source§fn clone(&self) -> OAuthTokenDeviceCodePendingErrorError
fn clone(&self) -> OAuthTokenDeviceCodePendingErrorError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for OAuthTokenDeviceCodePendingErrorError
Source§impl<'de> Deserialize<'de> for OAuthTokenDeviceCodePendingErrorError
impl<'de> Deserialize<'de> for OAuthTokenDeviceCodePendingErrorError
Source§fn 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
impl Eq for OAuthTokenDeviceCodePendingErrorError
Source§impl From<&OAuthTokenDeviceCodePendingErrorError> for OAuthTokenDeviceCodePendingErrorError
impl From<&OAuthTokenDeviceCodePendingErrorError> for OAuthTokenDeviceCodePendingErrorError
Source§fn from(value: &OAuthTokenDeviceCodePendingErrorError) -> Self
fn from(value: &OAuthTokenDeviceCodePendingErrorError) -> Self
Converts to this type from the input type.
Source§impl Ord for OAuthTokenDeviceCodePendingErrorError
impl Ord for OAuthTokenDeviceCodePendingErrorError
Source§fn cmp(&self, other: &OAuthTokenDeviceCodePendingErrorError) -> Ordering
fn cmp(&self, other: &OAuthTokenDeviceCodePendingErrorError) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for OAuthTokenDeviceCodePendingErrorError
impl PartialEq for OAuthTokenDeviceCodePendingErrorError
Source§fn eq(&self, other: &OAuthTokenDeviceCodePendingErrorError) -> bool
fn eq(&self, other: &OAuthTokenDeviceCodePendingErrorError) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OAuthTokenDeviceCodePendingErrorError
impl PartialOrd for OAuthTokenDeviceCodePendingErrorError
impl StructuralPartialEq for OAuthTokenDeviceCodePendingErrorError
Source§impl TryFrom<&String> for OAuthTokenDeviceCodePendingErrorError
impl TryFrom<&String> for OAuthTokenDeviceCodePendingErrorError
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for OAuthTokenDeviceCodePendingErrorError
impl TryFrom<&str> for OAuthTokenDeviceCodePendingErrorError
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for OAuthTokenDeviceCodePendingErrorError
impl TryFrom<String> for OAuthTokenDeviceCodePendingErrorError
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for OAuthTokenDeviceCodePendingErrorError
impl RefUnwindSafe for OAuthTokenDeviceCodePendingErrorError
impl Send for OAuthTokenDeviceCodePendingErrorError
impl Sync for OAuthTokenDeviceCodePendingErrorError
impl Unpin for OAuthTokenDeviceCodePendingErrorError
impl UnsafeUnpin for OAuthTokenDeviceCodePendingErrorError
impl UnwindSafe for OAuthTokenDeviceCodePendingErrorError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more