pub enum OrderType {
LIMIT,
MARKET,
STOP,
FAK,
FOK,
RFQ,
UNKNOWN,
}Expand description
委托类型(constant.py:100)。
UNKNOWN(0.3.0,边界零丢弃):(OrderPriceType, TimeCondition, VolumeCondition) 三元组无法翻译时填它,不借 LIMIT 顶替
(借用会让界面显示“限价“,而真实类型未知 —— 那就是封装层在编故事)。
Variants§
Implementations§
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