pub enum MarketDataUpdate {
Trade {
symbol: String,
trade: Trade,
},
Quote {
symbol: String,
quote: Quote,
},
Bar {
symbol: String,
bar: Bar,
},
}Expand description
Market data update enum
Variants§
Trait Implementations§
Source§impl Clone for MarketDataUpdate
impl Clone for MarketDataUpdate
Source§fn clone(&self) -> MarketDataUpdate
fn clone(&self) -> MarketDataUpdate
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 moreAuto Trait Implementations§
impl Freeze for MarketDataUpdate
impl RefUnwindSafe for MarketDataUpdate
impl Send for MarketDataUpdate
impl Sync for MarketDataUpdate
impl Unpin for MarketDataUpdate
impl UnwindSafe for MarketDataUpdate
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