pub struct GetWalletBalanceResponseBalancesItem {
pub asset: GetWalletBalanceResponseBalancesItemAsset,
pub chain: GetWalletBalanceResponseBalancesItemChain,
pub display_values: HashMap<String, String>,
pub raw_value: String,
pub raw_value_decimals: f64,
}Expand description
GetWalletBalanceResponseBalancesItem
JSON schema
{
"type": "object",
"required": [
"asset",
"chain",
"display_values",
"raw_value",
"raw_value_decimals"
],
"properties": {
"asset": {
"type": "string",
"enum": [
"usdc",
"eth",
"pol",
"sol"
]
},
"chain": {
"type": "string",
"enum": [
"ethereum",
"arbitrum",
"base",
"linea",
"optimism",
"polygon",
"solana",
"zksync_era"
]
},
"display_values": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"raw_value": {
"type": "string"
},
"raw_value_decimals": {
"type": "number"
}
}
}Fields§
§asset: GetWalletBalanceResponseBalancesItemAsset§chain: GetWalletBalanceResponseBalancesItemChain§display_values: HashMap<String, String>§raw_value: String§raw_value_decimals: f64Trait Implementations§
Source§impl Clone for GetWalletBalanceResponseBalancesItem
impl Clone for GetWalletBalanceResponseBalancesItem
Source§fn clone(&self) -> GetWalletBalanceResponseBalancesItem
fn clone(&self) -> GetWalletBalanceResponseBalancesItem
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 GetWalletBalanceResponseBalancesItem
impl<'de> Deserialize<'de> for GetWalletBalanceResponseBalancesItem
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<&GetWalletBalanceResponseBalancesItem> for GetWalletBalanceResponseBalancesItem
impl From<&GetWalletBalanceResponseBalancesItem> for GetWalletBalanceResponseBalancesItem
Source§fn from(value: &GetWalletBalanceResponseBalancesItem) -> Self
fn from(value: &GetWalletBalanceResponseBalancesItem) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GetWalletBalanceResponseBalancesItem
impl RefUnwindSafe for GetWalletBalanceResponseBalancesItem
impl Send for GetWalletBalanceResponseBalancesItem
impl Sync for GetWalletBalanceResponseBalancesItem
impl Unpin for GetWalletBalanceResponseBalancesItem
impl UnwindSafe for GetWalletBalanceResponseBalancesItem
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