pub struct AccountWallet {
pub address: String,
pub chain_type: FirstClassChainType,
pub custody: Option<WalletCustodian>,
pub id: String,
}Expand description
A wallet belonging to a digital asset account.
JSON schema
{
"title": "AccountWallet",
"description": "A wallet belonging to a digital asset account.",
"type": "object",
"required": [
"address",
"chain_type",
"id"
],
"properties": {
"address": {
"description": "The on-chain address of the wallet.",
"type": "string"
},
"chain_type": {
"$ref": "#/components/schemas/FirstClassChainType"
},
"custody": {
"$ref": "#/components/schemas/WalletCustodian"
},
"id": {
"description": "The wallet ID.",
"type": "string"
}
},
"x-stainless-model": "accounts.account_wallet"
}Fields§
§address: StringThe on-chain address of the wallet.
chain_type: FirstClassChainType§custody: Option<WalletCustodian>§id: StringThe wallet ID.
Trait Implementations§
Source§impl Clone for AccountWallet
impl Clone for AccountWallet
Source§fn clone(&self) -> AccountWallet
fn clone(&self) -> AccountWallet
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 AccountWallet
impl Debug for AccountWallet
Source§impl<'de> Deserialize<'de> for AccountWallet
impl<'de> Deserialize<'de> for AccountWallet
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<&AccountWallet> for AccountWallet
impl From<&AccountWallet> for AccountWallet
Source§fn from(value: &AccountWallet) -> Self
fn from(value: &AccountWallet) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AccountWallet
impl RefUnwindSafe for AccountWallet
impl Send for AccountWallet
impl Sync for AccountWallet
impl Unpin for AccountWallet
impl UnsafeUnpin for AccountWallet
impl UnwindSafe for AccountWallet
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