pub struct TradeActivity {Show 16 fields
pub token_address: String,
pub timestamp: i64,
pub kind: String,
pub buy_amount: String,
pub buy_amount_in_usd: String,
pub buy_token_address: String,
pub buy_token_name: String,
pub buy_token_symbol: String,
pub buy_wallet_address: String,
pub sell_amount: String,
pub sell_amount_in_usd: String,
pub sell_token_address: String,
pub sell_token_name: String,
pub sell_token_symbol: String,
pub sell_wallet_address: String,
pub tx_hash: String,
}Expand description
Trade activity data
Fields§
§token_address: String§timestamp: i64§kind: String§buy_amount: String§buy_amount_in_usd: String§buy_token_address: String§buy_token_name: String§buy_token_symbol: String§buy_wallet_address: String§sell_amount: String§sell_amount_in_usd: String§sell_token_address: String§sell_token_name: String§sell_token_symbol: String§sell_wallet_address: String§tx_hash: StringTrait Implementations§
Source§impl Clone for TradeActivity
impl Clone for TradeActivity
Source§fn clone(&self) -> TradeActivity
fn clone(&self) -> TradeActivity
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 TradeActivity
impl Debug for TradeActivity
Source§impl<'de> Deserialize<'de> for TradeActivity
impl<'de> Deserialize<'de> for TradeActivity
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 TradeActivity
impl RefUnwindSafe for TradeActivity
impl Send for TradeActivity
impl Sync for TradeActivity
impl Unpin for TradeActivity
impl UnwindSafe for TradeActivity
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