pub enum OrderRejectReason {
Show 19 variants
NoReject,
UnknownSymbol,
ExchangeClosed,
OrderExceedsLimit,
TooLateToEnter,
UnknownOrder,
DuplicateOrder,
DuplicateVerbalOrder,
StaleOrder,
TradeAlongRequired,
InvalidInvestorId,
UnsupportedOrderCharacteristic,
SurveillanceOption,
IncorrectQuantity,
IncorrectAllocatedQuantity,
UnknownAccount,
PriceExceedsPriceBand,
InvalidPriceIncrement,
Other,
}Expand description
Order rejection reason enumeration
Variants§
NoReject
No reject (accepted)
UnknownSymbol
Unknown symbol
ExchangeClosed
Exchange closed
OrderExceedsLimit
Order exceeds limit
TooLateToEnter
Too late to enter
UnknownOrder
Unknown order
DuplicateOrder
Duplicate order
DuplicateVerbalOrder
Duplicate of verbally communicated order
StaleOrder
Stale order
TradeAlongRequired
Trade along required
InvalidInvestorId
Invalid investor ID
UnsupportedOrderCharacteristic
Unsupported order characteristic
SurveillanceOption
Surveillance option
IncorrectQuantity
Incorrect quantity
IncorrectAllocatedQuantity
Incorrect allocated quantity
UnknownAccount
Unknown account
PriceExceedsPriceBand
Price exceeds current price band
InvalidPriceIncrement
Invalid price increment
Other
Other
Trait Implementations§
Source§impl Clone for OrderRejectReason
impl Clone for OrderRejectReason
Source§fn clone(&self) -> OrderRejectReason
fn clone(&self) -> OrderRejectReason
Returns a duplicate of the value. Read more
1.0.0 · 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 OrderRejectReason
impl Debug for OrderRejectReason
Source§impl<'de> Deserialize<'de> for OrderRejectReason
impl<'de> Deserialize<'de> for OrderRejectReason
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
Source§impl From<OrderRejectReason> for i32
impl From<OrderRejectReason> for i32
Source§fn from(reason: OrderRejectReason) -> Self
fn from(reason: OrderRejectReason) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OrderRejectReason
impl PartialEq for OrderRejectReason
Source§impl Serialize for OrderRejectReason
impl Serialize for OrderRejectReason
Source§impl TryFrom<i32> for OrderRejectReason
impl TryFrom<i32> for OrderRejectReason
impl Copy for OrderRejectReason
impl Eq for OrderRejectReason
impl StructuralPartialEq for OrderRejectReason
Auto Trait Implementations§
impl Freeze for OrderRejectReason
impl RefUnwindSafe for OrderRejectReason
impl Send for OrderRejectReason
impl Sync for OrderRejectReason
impl Unpin for OrderRejectReason
impl UnwindSafe for OrderRejectReason
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,
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.