pub struct MdEntry {Show 15 fields
pub md_entry_type: MdEntryType,
pub md_entry_px: Option<f64>,
pub md_entry_size: Option<f64>,
pub md_entry_date: Option<DateTime<Utc>>,
pub md_update_action: Option<MdUpdateAction>,
pub trade_id: Option<String>,
pub side: Option<char>,
pub order_id: Option<String>,
pub secondary_order_id: Option<String>,
pub price: Option<f64>,
pub text: Option<String>,
pub ord_status: Option<char>,
pub deribit_label: Option<String>,
pub deribit_liquidation: Option<String>,
pub trd_match_id: Option<String>,
}Expand description
Market Data Entry for snapshot and incremental messages
Fields§
§md_entry_type: MdEntryTypeEntry type
md_entry_px: Option<f64>Price of entry (optional)
md_entry_size: Option<f64>Size of entry (optional)
md_entry_date: Option<DateTime<Utc>>Timestamp for entry (optional)
md_update_action: Option<MdUpdateAction>Update action (for incremental refresh)
trade_id: Option<String>Trade ID (for trades)
side: Option<char>Side (for trades)
order_id: Option<String>Order ID (for trades)
secondary_order_id: Option<String>Secondary order ID (for trades)
price: Option<f64>Index price at trade moment (snapshot-only)
text: Option<String>Trade sequence number (snapshot-only)
ord_status: Option<char>Order status (snapshot-only)
deribit_label: Option<String>User-defined order label (snapshot-only)
deribit_liquidation: Option<String>Liquidation indicator (snapshot-only)
trd_match_id: Option<String>Block trade ID (snapshot-only)
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MdEntry
impl<'de> Deserialize<'de> for MdEntry
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 MdEntry
impl RefUnwindSafe for MdEntry
impl Send for MdEntry
impl Sync for MdEntry
impl Unpin for MdEntry
impl UnwindSafe for MdEntry
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