Enum MarketDataType
pub enum MarketDataType {
Trade,
L2Delta,
L2Snapshot,
Liquidation,
OhlcvBar,
}Expand description
Discriminant for MarketData variants, used to declare which market
data types a strategy consumes (see [Strategy::market_types]).
Variants§
Trait Implementations§
§impl Clone for MarketDataType
impl Clone for MarketDataType
§fn clone(&self) -> MarketDataType
fn clone(&self) -> MarketDataType
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more§impl Debug for MarketDataType
impl Debug for MarketDataType
§impl Hash for MarketDataType
impl Hash for MarketDataType
§impl PartialEq for MarketDataType
impl PartialEq for MarketDataType
impl Copy for MarketDataType
impl Eq for MarketDataType
impl StructuralPartialEq for MarketDataType
Auto Trait Implementations§
impl Freeze for MarketDataType
impl RefUnwindSafe for MarketDataType
impl Send for MarketDataType
impl Sync for MarketDataType
impl Unpin for MarketDataType
impl UnsafeUnpin for MarketDataType
impl UnwindSafe for MarketDataType
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)