pub struct UnlinkUserLinkedAccountBody {
pub handle: String,
pub provider: Option<String>,
pub type_: UnlinkUserLinkedAccountBodyType,
}Expand description
UnlinkUserLinkedAccountBody
JSON schema
{
"type": "object",
"required": [
"handle",
"type"
],
"properties": {
"handle": {
"type": "string"
},
"provider": {
"type": "string"
},
"type": {
"oneOf": [
{
"type": "string",
"enum": [
"apple_oauth",
"cross_app",
"custom_auth",
"discord_oauth",
"email",
"farcaster",
"github_oauth",
"google_oauth",
"guest",
"instagram_oauth",
"line_oauth",
"linkedin_oauth",
"passkey",
"phone",
"smart_wallet",
"spotify_oauth",
"telegram",
"tiktok_oauth",
"twitch_oauth",
"twitter_oauth",
"wallet"
]
},
{
"type": "string"
}
]
}
}
}Fields§
§handle: String§provider: Option<String>§type_: UnlinkUserLinkedAccountBodyTypeTrait Implementations§
Source§impl Clone for UnlinkUserLinkedAccountBody
impl Clone for UnlinkUserLinkedAccountBody
Source§fn clone(&self) -> UnlinkUserLinkedAccountBody
fn clone(&self) -> UnlinkUserLinkedAccountBody
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 UnlinkUserLinkedAccountBody
impl Debug for UnlinkUserLinkedAccountBody
Source§impl<'de> Deserialize<'de> for UnlinkUserLinkedAccountBody
impl<'de> Deserialize<'de> for UnlinkUserLinkedAccountBody
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<UnlinkUserLinkedAccountBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<UnlinkUserLinkedAccountBody, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&UnlinkUserLinkedAccountBody> for UnlinkUserLinkedAccountBody
impl From<&UnlinkUserLinkedAccountBody> for UnlinkUserLinkedAccountBody
Source§fn from(value: &UnlinkUserLinkedAccountBody) -> UnlinkUserLinkedAccountBody
fn from(value: &UnlinkUserLinkedAccountBody) -> UnlinkUserLinkedAccountBody
Converts to this type from the input type.
Source§impl Serialize for UnlinkUserLinkedAccountBody
impl Serialize for UnlinkUserLinkedAccountBody
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 UnlinkUserLinkedAccountBody
impl RefUnwindSafe for UnlinkUserLinkedAccountBody
impl Send for UnlinkUserLinkedAccountBody
impl Sync for UnlinkUserLinkedAccountBody
impl Unpin for UnlinkUserLinkedAccountBody
impl UnwindSafe for UnlinkUserLinkedAccountBody
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