pub struct ActivityFill {Show 13 fields
pub market_id: String,
pub asset_id: String,
pub fill_id: Option<String>,
pub order_id: Option<String>,
pub price: f64,
pub size: f64,
pub side: Option<String>,
pub outcome: Option<String>,
pub tx_hash: Option<String>,
pub fee: Option<f64>,
pub timestamp: Option<DateTime<Utc>>,
pub source_channel: Cow<'static, str>,
pub liquidity_role: Option<LiquidityRole>,
}Fields§
§market_id: String§asset_id: String§fill_id: Option<String>§order_id: Option<String>§price: f64§size: f64§side: Option<String>§outcome: Option<String>§tx_hash: Option<String>On-chain transaction hash. Opinion: txHash from trade.record.new.
fee: Option<f64>Fee charged for this fill. Opinion: fee from trade.record.new.
timestamp: Option<DateTime<Utc>>§source_channel: Cow<'static, str>§liquidity_role: Option<LiquidityRole>Trait Implementations§
Source§impl Clone for ActivityFill
impl Clone for ActivityFill
Source§fn clone(&self) -> ActivityFill
fn clone(&self) -> ActivityFill
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 ActivityFill
impl Debug for ActivityFill
Source§impl<'de> Deserialize<'de> for ActivityFill
impl<'de> Deserialize<'de> for ActivityFill
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 ActivityFill
impl RefUnwindSafe for ActivityFill
impl Send for ActivityFill
impl Sync for ActivityFill
impl Unpin for ActivityFill
impl UnsafeUnpin for ActivityFill
impl UnwindSafe for ActivityFill
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