pub enum OAuthProviderId {
ExternalOAuthProviderId(ExternalOAuthProviderId),
PrivyOAuthProviderId(PrivyOAuthProviderId),
CustomOAuthProviderId(CustomOAuthProviderId),
}Expand description
The ID of an OAuth provider.
JSON schema
{
"title": "OAuthProviderID",
"description": "The ID of an OAuth provider.",
"oneOf": [
{
"$ref": "#/components/schemas/ExternalOAuthProviderID"
},
{
"$ref": "#/components/schemas/PrivyOAuthProviderID"
},
{
"$ref": "#/components/schemas/CustomOAuthProviderID"
}
],
"x-stainless-model": "client_auth.oauth_provider_id"
}Variants§
ExternalOAuthProviderId(ExternalOAuthProviderId)
PrivyOAuthProviderId(PrivyOAuthProviderId)
CustomOAuthProviderId(CustomOAuthProviderId)
Trait Implementations§
Source§impl Clone for OAuthProviderId
impl Clone for OAuthProviderId
Source§fn clone(&self) -> OAuthProviderId
fn clone(&self) -> OAuthProviderId
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 OAuthProviderId
impl Debug for OAuthProviderId
Source§impl<'de> Deserialize<'de> for OAuthProviderId
impl<'de> Deserialize<'de> for OAuthProviderId
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 OAuthProviderId
impl Display for OAuthProviderId
Source§impl From<&OAuthProviderId> for OAuthProviderId
impl From<&OAuthProviderId> for OAuthProviderId
Source§fn from(value: &OAuthProviderId) -> Self
fn from(value: &OAuthProviderId) -> Self
Converts to this type from the input type.
Source§impl From<CustomOAuthProviderId> for OAuthProviderId
impl From<CustomOAuthProviderId> for OAuthProviderId
Source§fn from(value: CustomOAuthProviderId) -> Self
fn from(value: CustomOAuthProviderId) -> 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 From<PrivyOAuthProviderId> for OAuthProviderId
impl From<PrivyOAuthProviderId> for OAuthProviderId
Source§fn from(value: PrivyOAuthProviderId) -> Self
fn from(value: PrivyOAuthProviderId) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for OAuthProviderId
impl RefUnwindSafe for OAuthProviderId
impl Send for OAuthProviderId
impl Sync for OAuthProviderId
impl Unpin for OAuthProviderId
impl UnsafeUnpin for OAuthProviderId
impl UnwindSafe for OAuthProviderId
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.