pub enum LinkedAccountEmbeddedWalletWithId {
Variant0 {Show 15 fields
address: String,
chain_id: String,
chain_type: LinkedAccountEmbeddedWalletWithIdVariant0ChainType,
connector_type: LinkedAccountEmbeddedWalletWithIdVariant0ConnectorType,
delegated: bool,
first_verified_at: Option<f64>,
id: String,
imported: bool,
latest_verified_at: Option<f64>,
recovery_method: LinkedAccountEmbeddedWalletWithIdVariant0RecoveryMethod,
type_: LinkedAccountEmbeddedWalletWithIdVariant0Type,
verified_at: f64,
wallet_client: LinkedAccountEmbeddedWalletWithIdVariant0WalletClient,
wallet_client_type: LinkedAccountEmbeddedWalletWithIdVariant0WalletClientType,
wallet_index: f64,
},
Variant1 {Show 16 fields
address: String,
chain_id: String,
chain_type: LinkedAccountEmbeddedWalletWithIdVariant1ChainType,
connector_type: LinkedAccountEmbeddedWalletWithIdVariant1ConnectorType,
delegated: bool,
first_verified_at: Option<f64>,
id: String,
imported: bool,
latest_verified_at: Option<f64>,
public_key: Option<String>,
recovery_method: LinkedAccountEmbeddedWalletWithIdVariant1RecoveryMethod,
type_: LinkedAccountEmbeddedWalletWithIdVariant1Type,
verified_at: f64,
wallet_client: LinkedAccountEmbeddedWalletWithIdVariant1WalletClient,
wallet_client_type: LinkedAccountEmbeddedWalletWithIdVariant1WalletClientType,
wallet_index: f64,
},
Variant2 {Show 16 fields
address: String,
chain_id: String,
chain_type: LinkedAccountEmbeddedWalletWithIdVariant2ChainType,
connector_type: LinkedAccountEmbeddedWalletWithIdVariant2ConnectorType,
delegated: bool,
first_verified_at: Option<f64>,
id: String,
imported: bool,
latest_verified_at: Option<f64>,
public_key: String,
recovery_method: LinkedAccountEmbeddedWalletWithIdVariant2RecoveryMethod,
type_: LinkedAccountEmbeddedWalletWithIdVariant2Type,
verified_at: f64,
wallet_client: LinkedAccountEmbeddedWalletWithIdVariant2WalletClient,
wallet_client_type: LinkedAccountEmbeddedWalletWithIdVariant2WalletClientType,
wallet_index: f64,
},
Variant3 {Show 16 fields
address: String,
chain_id: String,
chain_type: LinkedAccountEmbeddedWalletWithIdVariant3ChainType,
connector_type: LinkedAccountEmbeddedWalletWithIdVariant3ConnectorType,
delegated: bool,
first_verified_at: Option<f64>,
id: String,
imported: bool,
latest_verified_at: Option<f64>,
public_key: String,
recovery_method: LinkedAccountEmbeddedWalletWithIdVariant3RecoveryMethod,
type_: LinkedAccountEmbeddedWalletWithIdVariant3Type,
verified_at: f64,
wallet_client: LinkedAccountEmbeddedWalletWithIdVariant3WalletClient,
wallet_client_type: LinkedAccountEmbeddedWalletWithIdVariant3WalletClientType,
wallet_index: f64,
},
Variant4 {Show 16 fields
address: String,
chain_id: String,
chain_type: CurveSigningChainType,
connector_type: LinkedAccountEmbeddedWalletWithIdVariant4ConnectorType,
delegated: bool,
first_verified_at: Option<f64>,
id: String,
imported: bool,
latest_verified_at: Option<f64>,
public_key: String,
recovery_method: LinkedAccountEmbeddedWalletWithIdVariant4RecoveryMethod,
type_: LinkedAccountEmbeddedWalletWithIdVariant4Type,
verified_at: f64,
wallet_client: LinkedAccountEmbeddedWalletWithIdVariant4WalletClient,
wallet_client_type: LinkedAccountEmbeddedWalletWithIdVariant4WalletClientType,
wallet_index: f64,
},
}Expand description
LinkedAccountEmbeddedWalletWithId
JSON schema
{
"title": "LinkedAccountEmbeddedWalletWithId",
"allOf": [
{
"$ref": "#/components/schemas/LinkedAccountEmbeddedWallet"
},
{
"type": "object",
"required": [
"id",
"recovery_method"
],
"properties": {
"id": {
"type": "string"
},
"recovery_method": {
"type": "string",
"enum": [
"privy-v2"
]
}
}
}
],
"x-stainless-model": "users.linked_account_embedded_wallet_with_id"
}Variants§
Variant0
Fields
§
connector_type: LinkedAccountEmbeddedWalletWithIdVariant0ConnectorType§
recovery_method: LinkedAccountEmbeddedWalletWithIdVariant0RecoveryMethod§
wallet_client: LinkedAccountEmbeddedWalletWithIdVariant0WalletClient§
wallet_client_type: LinkedAccountEmbeddedWalletWithIdVariant0WalletClientTypeVariant1
Fields
§
connector_type: LinkedAccountEmbeddedWalletWithIdVariant1ConnectorType§
recovery_method: LinkedAccountEmbeddedWalletWithIdVariant1RecoveryMethod§
wallet_client: LinkedAccountEmbeddedWalletWithIdVariant1WalletClient§
wallet_client_type: LinkedAccountEmbeddedWalletWithIdVariant1WalletClientTypeVariant2
Fields
§
connector_type: LinkedAccountEmbeddedWalletWithIdVariant2ConnectorType§
recovery_method: LinkedAccountEmbeddedWalletWithIdVariant2RecoveryMethod§
wallet_client: LinkedAccountEmbeddedWalletWithIdVariant2WalletClient§
wallet_client_type: LinkedAccountEmbeddedWalletWithIdVariant2WalletClientTypeVariant3
Fields
§
connector_type: LinkedAccountEmbeddedWalletWithIdVariant3ConnectorType§
recovery_method: LinkedAccountEmbeddedWalletWithIdVariant3RecoveryMethod§
wallet_client: LinkedAccountEmbeddedWalletWithIdVariant3WalletClient§
wallet_client_type: LinkedAccountEmbeddedWalletWithIdVariant3WalletClientTypeVariant4
Fields
§
chain_type: CurveSigningChainType§
connector_type: LinkedAccountEmbeddedWalletWithIdVariant4ConnectorType§
recovery_method: LinkedAccountEmbeddedWalletWithIdVariant4RecoveryMethod§
wallet_client: LinkedAccountEmbeddedWalletWithIdVariant4WalletClient§
wallet_client_type: LinkedAccountEmbeddedWalletWithIdVariant4WalletClientTypeTrait Implementations§
Source§impl Clone for LinkedAccountEmbeddedWalletWithId
impl Clone for LinkedAccountEmbeddedWalletWithId
Source§fn clone(&self) -> LinkedAccountEmbeddedWalletWithId
fn clone(&self) -> LinkedAccountEmbeddedWalletWithId
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<'de> Deserialize<'de> for LinkedAccountEmbeddedWalletWithId
impl<'de> Deserialize<'de> for LinkedAccountEmbeddedWalletWithId
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<&LinkedAccountEmbeddedWalletWithId> for LinkedAccountEmbeddedWalletWithId
impl From<&LinkedAccountEmbeddedWalletWithId> for LinkedAccountEmbeddedWalletWithId
Source§fn from(value: &LinkedAccountEmbeddedWalletWithId) -> Self
fn from(value: &LinkedAccountEmbeddedWalletWithId) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LinkedAccountEmbeddedWalletWithId
impl RefUnwindSafe for LinkedAccountEmbeddedWalletWithId
impl Send for LinkedAccountEmbeddedWalletWithId
impl Sync for LinkedAccountEmbeddedWalletWithId
impl Unpin for LinkedAccountEmbeddedWalletWithId
impl UnsafeUnpin for LinkedAccountEmbeddedWalletWithId
impl UnwindSafe for LinkedAccountEmbeddedWalletWithId
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