pub struct PredictionActivity {Show 27 fields
pub activity_id: String,
pub amount: String,
pub asset_ids: Option<Vec<String>>,
pub block_number: u64,
pub condition_id: String,
pub event_slug: String,
pub log_index: u64,
pub market_icon: String,
pub market_id: String,
pub market_question: String,
pub outcome: String,
pub outcomes: Option<Vec<String>>,
pub price: String,
pub quantity: String,
pub seq_index: u64,
pub source: String,
pub taker: String,
pub taker_age: u64,
pub taker_image: String,
pub taker_name: String,
pub taker_order_hash: String,
pub taker_pseudonym: String,
pub taker_tags: Vec<String>,
pub timestamp: u64,
pub token_id: String,
pub tx_hash: String,
pub activity_type: PredictionActivityType,
}Expand description
Prediction market wallet-token activity.
Fields§
§activity_id: String§amount: String§asset_ids: Option<Vec<String>>§block_number: u64§condition_id: String§event_slug: String§log_index: u64§market_icon: String§market_id: String§market_question: String§outcome: String§outcomes: Option<Vec<String>>§price: String§quantity: String§seq_index: u64§source: String§taker: String§taker_age: u64§taker_image: String§taker_name: String§taker_order_hash: String§taker_pseudonym: String§timestamp: u64§token_id: String§tx_hash: String§activity_type: PredictionActivityTypeTrait Implementations§
Source§impl Clone for PredictionActivity
impl Clone for PredictionActivity
Source§fn clone(&self) -> PredictionActivity
fn clone(&self) -> PredictionActivity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PredictionActivity
impl Debug for PredictionActivity
Source§impl<'de> Deserialize<'de> for PredictionActivity
impl<'de> Deserialize<'de> for PredictionActivity
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 PredictionActivity
impl RefUnwindSafe for PredictionActivity
impl Send for PredictionActivity
impl Sync for PredictionActivity
impl Unpin for PredictionActivity
impl UnsafeUnpin for PredictionActivity
impl UnwindSafe for PredictionActivity
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