pub struct AssetAccountWithBalance {
pub balance: BalanceResponse,
pub display_name: Option<String>,
pub id: String,
pub wallets: Vec<AccountWallet>,
}Expand description
A digital asset account with its aggregated balance across all wallets and chains.
JSON schema
{
"title": "AssetAccountWithBalance",
"description": "A digital asset account with its aggregated balance
across all wallets and chains.",
"type": "object",
"required": [
"balance",
"id",
"wallets"
],
"properties": {
"balance": {
"$ref": "#/components/schemas/BalanceResponse"
},
"display_name": {
"description": "An optional display name for the account.",
"type": "string"
},
"id": {
"description": "The account ID.",
"type": "string"
},
"wallets": {
"description": "The wallets belonging to this account.",
"type": "array",
"items": {
"$ref": "#/components/schemas/AccountWallet"
}
}
},
"x-stainless-model": "accounts.asset_account_with_balance"
}Fields§
§balance: BalanceResponse§display_name: Option<String>An optional display name for the account.
id: StringThe account ID.
wallets: Vec<AccountWallet>The wallets belonging to this account.
Trait Implementations§
Source§impl Clone for AssetAccountWithBalance
impl Clone for AssetAccountWithBalance
Source§fn clone(&self) -> AssetAccountWithBalance
fn clone(&self) -> AssetAccountWithBalance
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 AssetAccountWithBalance
impl Debug for AssetAccountWithBalance
Source§impl<'de> Deserialize<'de> for AssetAccountWithBalance
impl<'de> Deserialize<'de> for AssetAccountWithBalance
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AssetAccountWithBalance, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AssetAccountWithBalance, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<&AssetAccountWithBalance> for AssetAccountWithBalance
impl From<&AssetAccountWithBalance> for AssetAccountWithBalance
Source§fn from(value: &AssetAccountWithBalance) -> AssetAccountWithBalance
fn from(value: &AssetAccountWithBalance) -> AssetAccountWithBalance
Converts to this type from the input type.
Source§impl Serialize for AssetAccountWithBalance
impl Serialize for AssetAccountWithBalance
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 AssetAccountWithBalance
impl RefUnwindSafe for AssetAccountWithBalance
impl Send for AssetAccountWithBalance
impl Sync for AssetAccountWithBalance
impl Unpin for AssetAccountWithBalance
impl UnsafeUnpin for AssetAccountWithBalance
impl UnwindSafe for AssetAccountWithBalance
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