pub enum ExecutionType {
New,
Canceled,
Calculated,
Replaced,
Rejected,
Trade,
Expired,
TradePrevention,
}
Variants§
New
The order has been accepted into the engine.
Canceled
The order has been canceled by the user.
Calculated
Liquidation Execution (Futures only)
Replaced
(currently unused)
Rejected
The order has been rejected and was not processed (This message appears only with Cancel Replace Orders wherein the new order placement is rejected but the request to cancel request succeeds.)
Trade
Part of the order or all of the order’s quantity has filled.
Expired
The order was canceled according to the order type’s rules (e.g. LIMIT FOK orders with no fill, LIMIT IOC or MARKET orders that partially fill) or by the exchange, (e.g. orders canceled during liquidation, orders canceled during maintenance).
TradePrevention
The order has expired due to STP trigger.
Trait Implementations§
Source§impl Clone for ExecutionType
impl Clone for ExecutionType
Source§fn clone(&self) -> ExecutionType
fn clone(&self) -> ExecutionType
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ExecutionType
impl Debug for ExecutionType
Source§impl<'de> Deserialize<'de> for ExecutionType
impl<'de> Deserialize<'de> for ExecutionType
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ExecutionType
impl RefUnwindSafe for ExecutionType
impl Send for ExecutionType
impl Sync for ExecutionType
impl Unpin for ExecutionType
impl UnwindSafe for ExecutionType
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