pub struct LinkedAccountBaseWallet {
pub address: String,
pub chain_type: LinkedAccountBaseWalletChainType,
pub type_: LinkedAccountBaseWalletType,
}Expand description
Base schema for wallet accounts linked to the user.
JSON schema
{
"title": "LinkedAccountBaseWallet",
"description": "Base schema for wallet accounts linked to the user.",
"type": "object",
"required": [
"address",
"chain_type",
"type"
],
"properties": {
"address": {
"type": "string"
},
"chain_type": {
"type": "string",
"enum": [
"ethereum",
"solana"
]
},
"type": {
"type": "string",
"enum": [
"smart_wallet",
"wallet"
]
}
},
"x-stainless-model": "users.linked_account_base_wallet"
}Fields§
§address: String§chain_type: LinkedAccountBaseWalletChainType§type_: LinkedAccountBaseWalletTypeTrait Implementations§
Source§impl Clone for LinkedAccountBaseWallet
impl Clone for LinkedAccountBaseWallet
Source§fn clone(&self) -> LinkedAccountBaseWallet
fn clone(&self) -> LinkedAccountBaseWallet
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 LinkedAccountBaseWallet
impl Debug for LinkedAccountBaseWallet
Source§impl<'de> Deserialize<'de> for LinkedAccountBaseWallet
impl<'de> Deserialize<'de> for LinkedAccountBaseWallet
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<&LinkedAccountBaseWallet> for LinkedAccountBaseWallet
impl From<&LinkedAccountBaseWallet> for LinkedAccountBaseWallet
Source§fn from(value: &LinkedAccountBaseWallet) -> Self
fn from(value: &LinkedAccountBaseWallet) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LinkedAccountBaseWallet
impl RefUnwindSafe for LinkedAccountBaseWallet
impl Send for LinkedAccountBaseWallet
impl Sync for LinkedAccountBaseWallet
impl Unpin for LinkedAccountBaseWallet
impl UnsafeUnpin for LinkedAccountBaseWallet
impl UnwindSafe for LinkedAccountBaseWallet
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