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<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 From<&UnlinkUserLinkedAccountBody> for UnlinkUserLinkedAccountBody
impl From<&UnlinkUserLinkedAccountBody> for UnlinkUserLinkedAccountBody
Source§fn from(value: &UnlinkUserLinkedAccountBody) -> Self
fn from(value: &UnlinkUserLinkedAccountBody) -> Self
Converts to this type from the input type.
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