pub enum MarketType {
Equity,
Options,
Futures,
Fx,
Bond,
Crypto,
Other,
}Expand description
The class of instrument a calendar represents.
Variants§
Equity
Cash equities and ETFs.
Options
Listed options.
Futures
Listed futures and futures options.
Fx
Spot / margin FX.
Bond
Fixed-income (SIFMA-style).
Crypto
24x7 crypto.
Other
Other / unknown.
Implementations§
Trait Implementations§
Source§impl Clone for MarketType
impl Clone for MarketType
Source§fn clone(&self) -> MarketType
fn clone(&self) -> MarketType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 MarketType
impl Debug for MarketType
Source§impl PartialEq for MarketType
impl PartialEq for MarketType
Source§fn eq(&self, other: &MarketType) -> bool
fn eq(&self, other: &MarketType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for MarketType
impl Eq for MarketType
impl StructuralPartialEq for MarketType
Auto Trait Implementations§
impl Freeze for MarketType
impl RefUnwindSafe for MarketType
impl Send for MarketType
impl Sync for MarketType
impl Unpin for MarketType
impl UnsafeUnpin for MarketType
impl UnwindSafe for MarketType
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