#[repr(u16)]pub enum OrderType {
Market = 0,
Limit = 1,
StopMarket = 2,
StopLimit = 3,
MarketToLimit = 4,
MarketIfTouched = 5,
LimitIfTouched = 6,
TrailingStopMarket = 7,
TrailingStopLimit = 8,
}Variants§
Market = 0
Limit = 1
StopMarket = 2
StopLimit = 3
MarketToLimit = 4
MarketIfTouched = 5
LimitIfTouched = 6
TrailingStopMarket = 7
TrailingStopLimit = 8
Trait Implementations§
impl Copy for OrderType
impl Eq for OrderType
Source§impl Introspect for OrderType
impl Introspect for OrderType
Source§fn introspect() -> Type
fn introspect() -> Type
Retrieves a description of the type.
impl StructuralPartialEq for OrderType
Auto Trait Implementations§
impl Freeze for OrderType
impl RefUnwindSafe for OrderType
impl Send for OrderType
impl Sync for OrderType
impl Unpin for OrderType
impl UnsafeUnpin for OrderType
impl UnwindSafe for OrderType
Blanket Implementations§
impl<T> Allocation for T
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.