pub enum LinkedAccountInput {
Show 17 variants
WalletInput(LinkedAccountWalletInput),
EmailInput(LinkedAccountEmailInput),
PhoneInput(LinkedAccountPhoneInput),
GoogleInput(LinkedAccountGoogleInput),
TwitterInput(LinkedAccountTwitterInput),
DiscordInput(LinkedAccountDiscordInput),
GithubInput(LinkedAccountGithubInput),
SpotifyInput(LinkedAccountSpotifyInput),
InstagramInput(LinkedAccountInstagramInput),
TiktokInput(LinkedAccountTiktokInput),
LineInput(LinkedAccountLineInput),
TwitchInput(LinkedAccountTwitchInput),
AppleInput(LinkedAccountAppleInput),
LinkedInInput(LinkedAccountLinkedInInput),
FarcasterInput(LinkedAccountFarcasterInput),
TelegramInput(LinkedAccountTelegramInput),
CustomJwtInput(LinkedAccountCustomJwtInput),
}Expand description
The input for adding a linked account to a user.
JSON schema
{
"title": "LinkedAccountInput",
"description": "The input for adding a linked account to a user.",
"examples": [
{
"address": "tom.bombadill@privy.io",
"type": "email"
}
],
"oneOf": [
{
"$ref": "#/components/schemas/LinkedAccountWalletInput"
},
{
"$ref": "#/components/schemas/LinkedAccountEmailInput"
},
{
"$ref": "#/components/schemas/LinkedAccountPhoneInput"
},
{
"$ref": "#/components/schemas/LinkedAccountGoogleInput"
},
{
"$ref": "#/components/schemas/LinkedAccountTwitterInput"
},
{
"$ref": "#/components/schemas/LinkedAccountDiscordInput"
},
{
"$ref": "#/components/schemas/LinkedAccountGithubInput"
},
{
"$ref": "#/components/schemas/LinkedAccountSpotifyInput"
},
{
"$ref": "#/components/schemas/LinkedAccountInstagramInput"
},
{
"$ref": "#/components/schemas/LinkedAccountTiktokInput"
},
{
"$ref": "#/components/schemas/LinkedAccountLineInput"
},
{
"$ref": "#/components/schemas/LinkedAccountTwitchInput"
},
{
"$ref": "#/components/schemas/LinkedAccountAppleInput"
},
{
"$ref": "#/components/schemas/LinkedAccountLinkedInInput"
},
{
"$ref": "#/components/schemas/LinkedAccountFarcasterInput"
},
{
"$ref": "#/components/schemas/LinkedAccountTelegramInput"
},
{
"$ref": "#/components/schemas/LinkedAccountCustomJWTInput"
}
]
}Variants§
WalletInput(LinkedAccountWalletInput)
EmailInput(LinkedAccountEmailInput)
PhoneInput(LinkedAccountPhoneInput)
GoogleInput(LinkedAccountGoogleInput)
TwitterInput(LinkedAccountTwitterInput)
DiscordInput(LinkedAccountDiscordInput)
GithubInput(LinkedAccountGithubInput)
SpotifyInput(LinkedAccountSpotifyInput)
InstagramInput(LinkedAccountInstagramInput)
TiktokInput(LinkedAccountTiktokInput)
LineInput(LinkedAccountLineInput)
TwitchInput(LinkedAccountTwitchInput)
AppleInput(LinkedAccountAppleInput)
LinkedInInput(LinkedAccountLinkedInInput)
FarcasterInput(LinkedAccountFarcasterInput)
TelegramInput(LinkedAccountTelegramInput)
CustomJwtInput(LinkedAccountCustomJwtInput)
Trait Implementations§
Source§impl Clone for LinkedAccountInput
impl Clone for LinkedAccountInput
Source§fn clone(&self) -> LinkedAccountInput
fn clone(&self) -> LinkedAccountInput
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 LinkedAccountInput
impl Debug for LinkedAccountInput
Source§impl<'de> Deserialize<'de> for LinkedAccountInput
impl<'de> Deserialize<'de> for LinkedAccountInput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinkedAccountInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinkedAccountInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&LinkedAccountInput> for LinkedAccountInput
impl From<&LinkedAccountInput> for LinkedAccountInput
Source§fn from(value: &LinkedAccountInput) -> LinkedAccountInput
fn from(value: &LinkedAccountInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl From<LinkedAccountAppleInput> for LinkedAccountInput
impl From<LinkedAccountAppleInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountAppleInput) -> LinkedAccountInput
fn from(value: LinkedAccountAppleInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl From<LinkedAccountCustomJwtInput> for LinkedAccountInput
impl From<LinkedAccountCustomJwtInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountCustomJwtInput) -> LinkedAccountInput
fn from(value: LinkedAccountCustomJwtInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl From<LinkedAccountDiscordInput> for LinkedAccountInput
impl From<LinkedAccountDiscordInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountDiscordInput) -> LinkedAccountInput
fn from(value: LinkedAccountDiscordInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl From<LinkedAccountEmailInput> for LinkedAccountInput
impl From<LinkedAccountEmailInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountEmailInput) -> LinkedAccountInput
fn from(value: LinkedAccountEmailInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl From<LinkedAccountFarcasterInput> for LinkedAccountInput
impl From<LinkedAccountFarcasterInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountFarcasterInput) -> LinkedAccountInput
fn from(value: LinkedAccountFarcasterInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl From<LinkedAccountGithubInput> for LinkedAccountInput
impl From<LinkedAccountGithubInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountGithubInput) -> LinkedAccountInput
fn from(value: LinkedAccountGithubInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl From<LinkedAccountGoogleInput> for LinkedAccountInput
impl From<LinkedAccountGoogleInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountGoogleInput) -> LinkedAccountInput
fn from(value: LinkedAccountGoogleInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl From<LinkedAccountInstagramInput> for LinkedAccountInput
impl From<LinkedAccountInstagramInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountInstagramInput) -> LinkedAccountInput
fn from(value: LinkedAccountInstagramInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl From<LinkedAccountLineInput> for LinkedAccountInput
impl From<LinkedAccountLineInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountLineInput) -> LinkedAccountInput
fn from(value: LinkedAccountLineInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl From<LinkedAccountLinkedInInput> for LinkedAccountInput
impl From<LinkedAccountLinkedInInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountLinkedInInput) -> LinkedAccountInput
fn from(value: LinkedAccountLinkedInInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl From<LinkedAccountPhoneInput> for LinkedAccountInput
impl From<LinkedAccountPhoneInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountPhoneInput) -> LinkedAccountInput
fn from(value: LinkedAccountPhoneInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl From<LinkedAccountSpotifyInput> for LinkedAccountInput
impl From<LinkedAccountSpotifyInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountSpotifyInput) -> LinkedAccountInput
fn from(value: LinkedAccountSpotifyInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl From<LinkedAccountTelegramInput> for LinkedAccountInput
impl From<LinkedAccountTelegramInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountTelegramInput) -> LinkedAccountInput
fn from(value: LinkedAccountTelegramInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl From<LinkedAccountTiktokInput> for LinkedAccountInput
impl From<LinkedAccountTiktokInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountTiktokInput) -> LinkedAccountInput
fn from(value: LinkedAccountTiktokInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl From<LinkedAccountTwitchInput> for LinkedAccountInput
impl From<LinkedAccountTwitchInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountTwitchInput) -> LinkedAccountInput
fn from(value: LinkedAccountTwitchInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl From<LinkedAccountTwitterInput> for LinkedAccountInput
impl From<LinkedAccountTwitterInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountTwitterInput) -> LinkedAccountInput
fn from(value: LinkedAccountTwitterInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl From<LinkedAccountWalletInput> for LinkedAccountInput
impl From<LinkedAccountWalletInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountWalletInput) -> LinkedAccountInput
fn from(value: LinkedAccountWalletInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl Serialize for LinkedAccountInput
impl Serialize for LinkedAccountInput
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 LinkedAccountInput
impl RefUnwindSafe for LinkedAccountInput
impl Send for LinkedAccountInput
impl Sync for LinkedAccountInput
impl Unpin for LinkedAccountInput
impl UnwindSafe for LinkedAccountInput
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