#[non_exhaustive]#[repr(i32)]pub enum OrderType {
Show 18 variants
Unknown = 0,
Normal = 1,
Market = 2,
AbsoluteLimit = 5,
Auction = 6,
AuctionLimit = 7,
SpecialLimit = 8,
SpecialLimitAll = 9,
Stop = 10,
StopLimit = 11,
MarketifTouched = 12,
LimitifTouched = 13,
TrailingStop = 14,
TrailingStopLimit = 15,
TwapMarket = 16,
TwapLimit = 17,
VwapMarket = 18,
VwapLimit = 19,
}Expand description
订单类型
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unknown = 0
Normal = 1
Market = 2
AbsoluteLimit = 5
Auction = 6
AuctionLimit = 7
SpecialLimit = 8
SpecialLimitAll = 9
Stop = 10
StopLimit = 11
MarketifTouched = 12
LimitifTouched = 13
TrailingStop = 14
TrailingStopLimit = 15
TwapMarket = 16
TwapLimit = 17
VwapMarket = 18
VwapLimit = 19
Trait Implementations§
impl Copy for OrderType
impl Eq for OrderType
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§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more