pub struct TokenActivity {
pub address: String,
pub price_usd: String,
pub amount: String,
pub activity_type: TokenActivityType,
pub tx_hash: String,
pub timestamp: i64,
}Expand description
Token activity data
Fields§
§address: String§price_usd: String§amount: String§activity_type: TokenActivityType§tx_hash: String§timestamp: i64Trait Implementations§
Source§impl Clone for TokenActivity
impl Clone for TokenActivity
Source§fn clone(&self) -> TokenActivity
fn clone(&self) -> TokenActivity
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 TokenActivity
impl Debug for TokenActivity
Source§impl<'de> Deserialize<'de> for TokenActivity
impl<'de> Deserialize<'de> for TokenActivity
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 TokenActivity
impl RefUnwindSafe for TokenActivity
impl Send for TokenActivity
impl Sync for TokenActivity
impl Unpin for TokenActivity
impl UnwindSafe for TokenActivity
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