pub struct Activity {Show 20 fields
pub proxy_wallet: String,
pub timestamp: i64,
pub condition_id: String,
pub activity_type: ActivityType,
pub size: f64,
pub usdc_size: f64,
pub transaction_hash: Option<String>,
pub price: Option<f64>,
pub asset: Option<String>,
pub side: Option<String>,
pub outcome_index: Option<u32>,
pub title: Option<String>,
pub slug: Option<String>,
pub icon: Option<String>,
pub outcome: Option<String>,
pub name: Option<String>,
pub pseudonym: Option<String>,
pub bio: Option<String>,
pub profile_image: Option<String>,
pub profile_image_optimized: Option<String>,
}Expand description
User activity record
Fields§
§proxy_wallet: StringProxy wallet address
timestamp: i64Activity timestamp
condition_id: StringCondition ID of the market
activity_type: ActivityTypeActivity type
size: f64Token quantity
usdc_size: f64USD value
transaction_hash: Option<String>On-chain transaction hash
price: Option<f64>Execution price
asset: Option<String>Asset identifier (token ID)
side: Option<String>Trade side (BUY or SELL)
outcome_index: Option<u32>Outcome index (0 or 1 for binary markets)
title: Option<String>Market title
slug: Option<String>Market slug
icon: Option<String>Market icon URL
outcome: Option<String>Outcome name (e.g., “Yes”, “No”)
name: Option<String>User display name
pseudonym: Option<String>User pseudonym
bio: Option<String>User bio
profile_image: Option<String>User profile image URL
profile_image_optimized: Option<String>Optimized profile image URL
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Activity
impl<'de> Deserialize<'de> for Activity
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 Activity
impl RefUnwindSafe for Activity
impl Send for Activity
impl Sync for Activity
impl Unpin for Activity
impl UnwindSafe for Activity
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