pub struct DataTrade {Show 19 fields
pub proxy_wallet: String,
pub side: String,
pub asset: String,
pub condition_id: String,
pub size: f64,
pub price: f64,
pub timestamp: i64,
pub title: String,
pub slug: String,
pub icon: Option<String>,
pub event_slug: String,
pub outcome: String,
pub outcome_index: i32,
pub name: String,
pub pseudonym: String,
pub bio: Option<String>,
pub profile_image: Option<String>,
pub profile_image_optimized: Option<String>,
pub transaction_hash: String,
}Expand description
Trade information from Data API
Fields§
§proxy_wallet: String§side: String§asset: String§condition_id: String§size: f64§price: f64§timestamp: i64§title: String§slug: String§icon: Option<String>§event_slug: String§outcome: String§outcome_index: i32§name: String§pseudonym: String§bio: Option<String>§profile_image: Option<String>§profile_image_optimized: Option<String>§transaction_hash: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for DataTrade
impl<'de> Deserialize<'de> for DataTrade
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 DataTrade
impl RefUnwindSafe for DataTrade
impl Send for DataTrade
impl Sync for DataTrade
impl Unpin for DataTrade
impl UnwindSafe for DataTrade
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