pub struct NetWorthByTokensResult {
pub current_timestamp: String,
pub data: Vec<NetWorthByTokensItem>,
pub total_value_in_native: String,
pub total_value_in_usd: String,
pub wallet_address: String,
}Expand description
Wallet net-worth by tokens result (mirrors TS WalletNetWorthByTokensResult).
JSON schema
{
"description": "Wallet net-worth by tokens result (mirrors TS WalletNetWorthByTokensResult).",
"type": "object",
"required": [
"currentTimestamp",
"data",
"totalValueInNative",
"totalValueInUsd",
"walletAddress"
],
"properties": {
"currentTimestamp": {
"examples": [
"2025-10-30T03:33:40.980Z"
],
"type": "string"
},
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/NetWorthByTokensItem"
}
},
"totalValueInNative": {
"examples": [
"82.31"
],
"type": "string"
},
"totalValueInUsd": {
"examples": [
"12345.67"
],
"type": "string"
},
"walletAddress": {
"examples": [
"3xd4LGVWtYXLBspR6X5JWbW49NXmEehfPtX6Kqx98b4w"
],
"type": "string"
}
}
}Fields§
§current_timestamp: String§data: Vec<NetWorthByTokensItem>§total_value_in_native: String§total_value_in_usd: String§wallet_address: StringImplementations§
Source§impl NetWorthByTokensResult
impl NetWorthByTokensResult
pub fn builder() -> NetWorthByTokensResult
Trait Implementations§
Source§impl Clone for NetWorthByTokensResult
impl Clone for NetWorthByTokensResult
Source§fn clone(&self) -> NetWorthByTokensResult
fn clone(&self) -> NetWorthByTokensResult
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 Debug for NetWorthByTokensResult
impl Debug for NetWorthByTokensResult
Source§impl<'de> Deserialize<'de> for NetWorthByTokensResult
impl<'de> Deserialize<'de> for NetWorthByTokensResult
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<&NetWorthByTokensResult> for NetWorthByTokensResult
impl From<&NetWorthByTokensResult> for NetWorthByTokensResult
Source§fn from(value: &NetWorthByTokensResult) -> Self
fn from(value: &NetWorthByTokensResult) -> Self
Converts to this type from the input type.
Source§impl From<NetWorthByTokensResult> for NetWorthByTokensResult
impl From<NetWorthByTokensResult> for NetWorthByTokensResult
Source§fn from(value: NetWorthByTokensResult) -> Self
fn from(value: NetWorthByTokensResult) -> Self
Converts to this type from the input type.
Source§impl Serialize for NetWorthByTokensResult
impl Serialize for NetWorthByTokensResult
Source§impl TryFrom<NetWorthByTokensResult> for NetWorthByTokensResult
impl TryFrom<NetWorthByTokensResult> for NetWorthByTokensResult
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: NetWorthByTokensResult) -> Result<Self, ConversionError>
fn try_from(value: NetWorthByTokensResult) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for NetWorthByTokensResult
impl RefUnwindSafe for NetWorthByTokensResult
impl Send for NetWorthByTokensResult
impl Sync for NetWorthByTokensResult
impl Unpin for NetWorthByTokensResult
impl UnsafeUnpin for NetWorthByTokensResult
impl UnwindSafe for NetWorthByTokensResult
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