pub enum OAuthGrantGrantType {
DeviceCode,
}Expand description
The OAuth grant type that created this grant.
JSON schema
{
"description": "The OAuth grant type that created this grant.",
"type": "string",
"enum": [
"device_code"
]
}Variants§
DeviceCode
Trait Implementations§
Source§impl Clone for OAuthGrantGrantType
impl Clone for OAuthGrantGrantType
Source§fn clone(&self) -> OAuthGrantGrantType
fn clone(&self) -> OAuthGrantGrantType
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 OAuthGrantGrantType
Source§impl Debug for OAuthGrantGrantType
impl Debug for OAuthGrantGrantType
Source§impl<'de> Deserialize<'de> for OAuthGrantGrantType
impl<'de> Deserialize<'de> for OAuthGrantGrantType
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
Source§impl Display for OAuthGrantGrantType
impl Display for OAuthGrantGrantType
impl Eq for OAuthGrantGrantType
Source§impl From<&OAuthGrantGrantType> for OAuthGrantGrantType
impl From<&OAuthGrantGrantType> for OAuthGrantGrantType
Source§fn from(value: &OAuthGrantGrantType) -> Self
fn from(value: &OAuthGrantGrantType) -> Self
Converts to this type from the input type.
Source§impl FromStr for OAuthGrantGrantType
impl FromStr for OAuthGrantGrantType
Source§impl Hash for OAuthGrantGrantType
impl Hash for OAuthGrantGrantType
Source§impl Ord for OAuthGrantGrantType
impl Ord for OAuthGrantGrantType
Source§fn cmp(&self, other: &OAuthGrantGrantType) -> Ordering
fn cmp(&self, other: &OAuthGrantGrantType) -> 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 OAuthGrantGrantType
impl PartialEq for OAuthGrantGrantType
Source§fn eq(&self, other: &OAuthGrantGrantType) -> bool
fn eq(&self, other: &OAuthGrantGrantType) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for OAuthGrantGrantType
impl PartialOrd for OAuthGrantGrantType
Source§impl Serialize for OAuthGrantGrantType
impl Serialize for OAuthGrantGrantType
impl StructuralPartialEq for OAuthGrantGrantType
Source§impl TryFrom<&String> for OAuthGrantGrantType
impl TryFrom<&String> for OAuthGrantGrantType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for OAuthGrantGrantType
impl TryFrom<&str> for OAuthGrantGrantType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for OAuthGrantGrantType
impl TryFrom<String> for OAuthGrantGrantType
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for OAuthGrantGrantType
impl RefUnwindSafe for OAuthGrantGrantType
impl Send for OAuthGrantGrantType
impl Sync for OAuthGrantGrantType
impl Unpin for OAuthGrantGrantType
impl UnsafeUnpin for OAuthGrantGrantType
impl UnwindSafe for OAuthGrantGrantType
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