pub enum MarketDepthEvent {
UpdateL1 {
position: i32,
operation: i32,
side: i32,
price: f64,
size: f64,
},
UpdateL2 {
position: i32,
market_maker: String,
operation: i32,
side: i32,
price: f64,
size: f64,
is_smart_depth: bool,
},
Error(IBKRError),
}Variants§
Trait Implementations§
Source§impl Clone for MarketDepthEvent
impl Clone for MarketDepthEvent
Source§fn clone(&self) -> MarketDepthEvent
fn clone(&self) -> MarketDepthEvent
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 MarketDepthEvent
impl Debug for MarketDepthEvent
Source§impl MarketDataIterator<MarketDepthEvent> for MarketDepthIterator
impl MarketDataIterator<MarketDepthEvent> for MarketDepthIterator
fn try_next(&mut self, timeout: Duration) -> Option<MarketDepthEvent>
fn collect_available(&mut self) -> Vec<MarketDepthEvent>
Auto Trait Implementations§
impl Freeze for MarketDepthEvent
impl RefUnwindSafe for MarketDepthEvent
impl Send for MarketDepthEvent
impl Sync for MarketDepthEvent
impl Unpin for MarketDepthEvent
impl UnwindSafe for MarketDepthEvent
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