pub struct LinkedAccountPasskeyInput {
pub credential_device_type: LinkedAccountPasskeyInputCredentialDeviceType,
pub credential_id: LinkedAccountPasskeyInputCredentialId,
pub credential_public_key: LinkedAccountPasskeyInputCredentialPublicKey,
pub credential_username: LinkedAccountPasskeyInputCredentialUsername,
pub type_: LinkedAccountPasskeyInputType,
}Expand description
The payload for importing a passkey account.
JSON schema
{
"title": "LinkedAccountPasskeyInput",
"description": "The payload for importing a passkey account.",
"type": "object",
"required": [
"credential_device_type",
"credential_id",
"credential_public_key",
"credential_username",
"type"
],
"properties": {
"credential_device_type": {
"type": "string",
"enum": [
"multiDevice",
"singleDevice"
]
},
"credential_id": {
"type": "string",
"maxLength": 1024,
"minLength": 1
},
"credential_public_key": {
"type": "string",
"maxLength": 2048,
"minLength": 1
},
"credential_username": {
"type": "string",
"maxLength": 256,
"minLength": 1
},
"type": {
"type": "string",
"enum": [
"passkey"
]
}
},
"x-stainless-model": "users.linked_account_passkey_input"
}Fields§
§credential_device_type: LinkedAccountPasskeyInputCredentialDeviceType§credential_id: LinkedAccountPasskeyInputCredentialId§credential_public_key: LinkedAccountPasskeyInputCredentialPublicKey§credential_username: LinkedAccountPasskeyInputCredentialUsername§type_: LinkedAccountPasskeyInputTypeTrait Implementations§
Source§impl Clone for LinkedAccountPasskeyInput
impl Clone for LinkedAccountPasskeyInput
Source§fn clone(&self) -> LinkedAccountPasskeyInput
fn clone(&self) -> LinkedAccountPasskeyInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LinkedAccountPasskeyInput
impl Debug for LinkedAccountPasskeyInput
Source§impl<'de> Deserialize<'de> for LinkedAccountPasskeyInput
impl<'de> Deserialize<'de> for LinkedAccountPasskeyInput
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinkedAccountPasskeyInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LinkedAccountPasskeyInput, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&LinkedAccountPasskeyInput> for LinkedAccountPasskeyInput
impl From<&LinkedAccountPasskeyInput> for LinkedAccountPasskeyInput
Source§fn from(value: &LinkedAccountPasskeyInput) -> LinkedAccountPasskeyInput
fn from(value: &LinkedAccountPasskeyInput) -> LinkedAccountPasskeyInput
Converts to this type from the input type.
Source§impl From<LinkedAccountPasskeyInput> for LinkedAccountInput
impl From<LinkedAccountPasskeyInput> for LinkedAccountInput
Source§fn from(value: LinkedAccountPasskeyInput) -> LinkedAccountInput
fn from(value: LinkedAccountPasskeyInput) -> LinkedAccountInput
Converts to this type from the input type.
Source§impl Serialize for LinkedAccountPasskeyInput
impl Serialize for LinkedAccountPasskeyInput
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 LinkedAccountPasskeyInput
impl RefUnwindSafe for LinkedAccountPasskeyInput
impl Send for LinkedAccountPasskeyInput
impl Sync for LinkedAccountPasskeyInput
impl Unpin for LinkedAccountPasskeyInput
impl UnsafeUnpin for LinkedAccountPasskeyInput
impl UnwindSafe for LinkedAccountPasskeyInput
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