pub struct WalletNetWorthPage {
pub current_timestamp: String,
pub data: Vec<NetWorthByTokensItem>,
pub end_cursor: Option<String>,
pub has_next: Option<bool>,
pub has_prev: Option<bool>,
pub start_cursor: Option<String>,
pub total_value_in_native: String,
pub total_value_in_usd: String,
pub wallet_address: String,
}Expand description
Paginated wallet net-worth page (mirrors TS WalletNetWorthPage).
JSON schema
{
"description": "Paginated wallet net-worth page (mirrors TS WalletNetWorthPage).",
"type": "object",
"required": [
"currentTimestamp",
"data",
"totalValueInNative",
"totalValueInUsd",
"walletAddress"
],
"properties": {
"currentTimestamp": {
"description": "ENTITY.WALLET_NET_WORTH_PAGE.CURRENT_TIMESTAMP",
"examples": [
"2025-10-30T03:33:40.980Z"
],
"type": "string"
},
"data": {
"description": "ENTITY.WALLET_NET_WORTH_PAGE.DATA",
"type": "array",
"items": {
"$ref": "#/components/schemas/NetWorthByTokensItem"
}
},
"endCursor": {
"description": "ENTITY.WALLET_NET_WORTH_PAGE.END_CURSOR",
"examples": [
"eyJpZCI6ImVuZCJ9"
],
"type": "string"
},
"hasNext": {
"description": "ENTITY.WALLET_NET_WORTH_PAGE.HAS_NEXT",
"examples": [
false
],
"type": "boolean"
},
"hasPrev": {
"description": "ENTITY.WALLET_NET_WORTH_PAGE.HAS_PREV",
"examples": [
false
],
"type": "boolean"
},
"startCursor": {
"description": "ENTITY.WALLET_NET_WORTH_PAGE.START_CURSOR",
"examples": [
"eyJpZCI6InN0YXJ0In0="
],
"type": "string"
},
"totalValueInNative": {
"description": "ENTITY.WALLET_NET_WORTH_PAGE.TOTAL_VALUE_IN_NATIVE",
"examples": [
"82.31"
],
"type": "string"
},
"totalValueInUsd": {
"description": "ENTITY.WALLET_NET_WORTH_PAGE.TOTAL_VALUE_IN_USD",
"examples": [
"12345.67"
],
"type": "string"
},
"walletAddress": {
"description": "ENTITY.WALLET_NET_WORTH_PAGE.WALLET_ADDRESS",
"examples": [
"3xd4LGVWtYXLBspR6X5JWbW49NXmEehfPtX6Kqx98b4w"
],
"type": "string"
}
}
}Fields§
§current_timestamp: StringENTITY.WALLET_NET_WORTH_PAGE.CURRENT_TIMESTAMP
data: Vec<NetWorthByTokensItem>ENTITY.WALLET_NET_WORTH_PAGE.DATA
end_cursor: Option<String>ENTITY.WALLET_NET_WORTH_PAGE.END_CURSOR
has_next: Option<bool>ENTITY.WALLET_NET_WORTH_PAGE.HAS_NEXT
has_prev: Option<bool>ENTITY.WALLET_NET_WORTH_PAGE.HAS_PREV
start_cursor: Option<String>ENTITY.WALLET_NET_WORTH_PAGE.START_CURSOR
total_value_in_native: StringENTITY.WALLET_NET_WORTH_PAGE.TOTAL_VALUE_IN_NATIVE
total_value_in_usd: StringENTITY.WALLET_NET_WORTH_PAGE.TOTAL_VALUE_IN_USD
wallet_address: StringENTITY.WALLET_NET_WORTH_PAGE.WALLET_ADDRESS
Implementations§
Source§impl WalletNetWorthPage
impl WalletNetWorthPage
pub fn builder() -> WalletNetWorthPage
Trait Implementations§
Source§impl Clone for WalletNetWorthPage
impl Clone for WalletNetWorthPage
Source§fn clone(&self) -> WalletNetWorthPage
fn clone(&self) -> WalletNetWorthPage
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 WalletNetWorthPage
impl Debug for WalletNetWorthPage
Source§impl<'de> Deserialize<'de> for WalletNetWorthPage
impl<'de> Deserialize<'de> for WalletNetWorthPage
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<&WalletNetWorthPage> for WalletNetWorthPage
impl From<&WalletNetWorthPage> for WalletNetWorthPage
Source§fn from(value: &WalletNetWorthPage) -> Self
fn from(value: &WalletNetWorthPage) -> Self
Converts to this type from the input type.
Source§impl From<WalletNetWorthPage> for WalletNetWorthPage
impl From<WalletNetWorthPage> for WalletNetWorthPage
Source§fn from(value: WalletNetWorthPage) -> Self
fn from(value: WalletNetWorthPage) -> Self
Converts to this type from the input type.
Source§impl Serialize for WalletNetWorthPage
impl Serialize for WalletNetWorthPage
Source§impl TryFrom<WalletNetWorthPage> for WalletNetWorthPage
impl TryFrom<WalletNetWorthPage> for WalletNetWorthPage
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§fn try_from(value: WalletNetWorthPage) -> Result<Self, ConversionError>
fn try_from(value: WalletNetWorthPage) -> Result<Self, ConversionError>
Performs the conversion.
Auto Trait Implementations§
impl Freeze for WalletNetWorthPage
impl RefUnwindSafe for WalletNetWorthPage
impl Send for WalletNetWorthPage
impl Sync for WalletNetWorthPage
impl Unpin for WalletNetWorthPage
impl UnsafeUnpin for WalletNetWorthPage
impl UnwindSafe for WalletNetWorthPage
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