pub enum ExternalOAuthProviderId {
Apple,
Discord,
Github,
Google,
Instagram,
Line,
Linkedin,
Spotify,
Tiktok,
Twitch,
Twitter,
}Expand description
The ID of an external OAuth provider.
JSON schema
{
"title": "ExternalOAuthProviderID",
"description": "The ID of an external OAuth provider.",
"type": "string",
"enum": [
"apple",
"discord",
"github",
"google",
"instagram",
"line",
"linkedin",
"spotify",
"tiktok",
"twitch",
"twitter"
],
"x-stainless-model": "client_auth.external_oauth_provider_id"
}Variants§
Trait Implementations§
Source§impl Clone for ExternalOAuthProviderId
impl Clone for ExternalOAuthProviderId
Source§fn clone(&self) -> ExternalOAuthProviderId
fn clone(&self) -> ExternalOAuthProviderId
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExternalOAuthProviderId
impl Debug for ExternalOAuthProviderId
Source§impl<'de> Deserialize<'de> for ExternalOAuthProviderId
impl<'de> Deserialize<'de> for ExternalOAuthProviderId
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 ExternalOAuthProviderId
impl Display for ExternalOAuthProviderId
Source§impl From<&ExternalOAuthProviderId> for ExternalOAuthProviderId
impl From<&ExternalOAuthProviderId> for ExternalOAuthProviderId
Source§fn from(value: &ExternalOAuthProviderId) -> Self
fn from(value: &ExternalOAuthProviderId) -> Self
Converts to this type from the input type.
Source§impl From<ExternalOAuthProviderId> for OAuthProviderId
impl From<ExternalOAuthProviderId> for OAuthProviderId
Source§fn from(value: ExternalOAuthProviderId) -> Self
fn from(value: ExternalOAuthProviderId) -> Self
Converts to this type from the input type.
Source§impl FromStr for ExternalOAuthProviderId
impl FromStr for ExternalOAuthProviderId
Source§impl Hash for ExternalOAuthProviderId
impl Hash for ExternalOAuthProviderId
Source§impl Ord for ExternalOAuthProviderId
impl Ord for ExternalOAuthProviderId
Source§fn cmp(&self, other: &ExternalOAuthProviderId) -> Ordering
fn cmp(&self, other: &ExternalOAuthProviderId) -> Ordering
1.21.0 · 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 ExternalOAuthProviderId
impl PartialEq for ExternalOAuthProviderId
Source§impl PartialOrd for ExternalOAuthProviderId
impl PartialOrd for ExternalOAuthProviderId
Source§impl Serialize for ExternalOAuthProviderId
impl Serialize for ExternalOAuthProviderId
Source§impl TryFrom<&String> for ExternalOAuthProviderId
impl TryFrom<&String> for ExternalOAuthProviderId
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for ExternalOAuthProviderId
impl TryFrom<&str> for ExternalOAuthProviderId
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for ExternalOAuthProviderId
impl TryFrom<String> for ExternalOAuthProviderId
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
impl Copy for ExternalOAuthProviderId
impl Eq for ExternalOAuthProviderId
impl StructuralPartialEq for ExternalOAuthProviderId
Auto Trait Implementations§
impl Freeze for ExternalOAuthProviderId
impl RefUnwindSafe for ExternalOAuthProviderId
impl Send for ExternalOAuthProviderId
impl Sync for ExternalOAuthProviderId
impl Unpin for ExternalOAuthProviderId
impl UnsafeUnpin for ExternalOAuthProviderId
impl UnwindSafe for ExternalOAuthProviderId
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.