pub struct WalletTokenPnl {Show 26 fields
pub wallet_address: String,
pub token_address: String,
pub token_price_in_usd: String,
pub timestamp: i64,
pub open_time: i64,
pub last_time: i64,
pub close_time: i64,
pub buy_amount: String,
pub buy_amount_in_usd: String,
pub buy_count: i32,
pub buy_count_30d: i32,
pub buy_count_7d: i32,
pub sell_amount: String,
pub sell_amount_in_usd: String,
pub sell_count: i32,
pub sell_count_30d: i32,
pub sell_count_7d: i32,
pub held_duration_timestamp: i64,
pub average_buy_price_in_usd: String,
pub average_sell_price_in_usd: String,
pub unrealized_profit_in_usd: String,
pub unrealized_profit_ratio: String,
pub realized_profit_in_usd: String,
pub realized_profit_ratio: String,
pub total_realized_profit_in_usd: String,
pub total_realized_profit_ratio: String,
}Expand description
Wallet token profit and loss data
Fields§
§wallet_address: String§token_address: String§token_price_in_usd: String§timestamp: i64§open_time: i64§last_time: i64§close_time: i64§buy_amount: String§buy_amount_in_usd: String§buy_count: i32§buy_count_30d: i32§buy_count_7d: i32§sell_amount: String§sell_amount_in_usd: String§sell_count: i32§sell_count_30d: i32§sell_count_7d: i32§held_duration_timestamp: i64§average_buy_price_in_usd: String§average_sell_price_in_usd: String§unrealized_profit_in_usd: String§unrealized_profit_ratio: String§realized_profit_in_usd: String§realized_profit_ratio: String§total_realized_profit_in_usd: String§total_realized_profit_ratio: StringTrait Implementations§
Source§impl Clone for WalletTokenPnl
impl Clone for WalletTokenPnl
Source§fn clone(&self) -> WalletTokenPnl
fn clone(&self) -> WalletTokenPnl
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 WalletTokenPnl
impl Debug for WalletTokenPnl
Source§impl<'de> Deserialize<'de> for WalletTokenPnl
impl<'de> Deserialize<'de> for WalletTokenPnl
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
Auto Trait Implementations§
impl Freeze for WalletTokenPnl
impl RefUnwindSafe for WalletTokenPnl
impl Send for WalletTokenPnl
impl Sync for WalletTokenPnl
impl Unpin for WalletTokenPnl
impl UnwindSafe for WalletTokenPnl
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