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