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<OAuthProviderId, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<OAuthProviderId, <__D as Deserializer<'de>>::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) -> OAuthProviderId
fn from(value: &OAuthProviderId) -> OAuthProviderId
Converts to this type from the input type.
Source§impl From<CustomOAuthProviderId> for OAuthProviderId
impl From<CustomOAuthProviderId> for OAuthProviderId
Source§fn from(value: CustomOAuthProviderId) -> OAuthProviderId
fn from(value: CustomOAuthProviderId) -> OAuthProviderId
Converts to this type from the input type.
Source§impl From<ExternalOAuthProviderId> for OAuthProviderId
impl From<ExternalOAuthProviderId> for OAuthProviderId
Source§fn from(value: ExternalOAuthProviderId) -> OAuthProviderId
fn from(value: ExternalOAuthProviderId) -> OAuthProviderId
Converts to this type from the input type.
Source§impl From<PrivyOAuthProviderId> for OAuthProviderId
impl From<PrivyOAuthProviderId> for OAuthProviderId
Source§fn from(value: PrivyOAuthProviderId) -> OAuthProviderId
fn from(value: PrivyOAuthProviderId) -> OAuthProviderId
Converts to this type from the input type.
Source§impl Serialize for OAuthProviderId
impl Serialize for OAuthProviderId
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for OAuthProviderId
impl RefUnwindSafe for OAuthProviderId
impl Send for OAuthProviderId
impl Sync for OAuthProviderId
impl Unpin 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.