pub struct TradeSnapshotMsg {Show 13 fields
pub time: Timestamp,
pub symbol: String,
pub side: Side,
pub size: Decimal,
pub price: Decimal,
pub tick_direction: TickDirection,
pub trade_id: String,
pub block_trade: bool,
pub rpi_trade: Option<bool>,
pub mark_price: Option<String>,
pub index_price: Option<String>,
pub mark_iv: Option<String>,
pub iv: Option<String>,
}Fields§
§time: Timestamp§symbol: String§side: Side§size: Decimal§price: Decimal§tick_direction: TickDirection§trade_id: String§block_trade: bool§rpi_trade: Option<bool>§mark_price: Option<String>§index_price: Option<String>§mark_iv: Option<String>§iv: Option<String>Trait Implementations§
Source§impl Debug for TradeSnapshotMsg
impl Debug for TradeSnapshotMsg
Source§impl<'de> Deserialize<'de> for TradeSnapshotMsg
impl<'de> Deserialize<'de> for TradeSnapshotMsg
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
Source§impl PartialEq for TradeSnapshotMsg
impl PartialEq for TradeSnapshotMsg
Source§fn eq(&self, other: &TradeSnapshotMsg) -> bool
fn eq(&self, other: &TradeSnapshotMsg) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TradeSnapshotMsg
Auto Trait Implementations§
impl Freeze for TradeSnapshotMsg
impl RefUnwindSafe for TradeSnapshotMsg
impl Send for TradeSnapshotMsg
impl Sync for TradeSnapshotMsg
impl Unpin for TradeSnapshotMsg
impl UnsafeUnpin for TradeSnapshotMsg
impl UnwindSafe for TradeSnapshotMsg
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