Enum ig_brokers::models::DealReason [−][src]
pub enum DealReason {}Show variants
AccountNotEnabledToTrading, AttachedOrderLevelError, AttachedOrderTrailingStopError, CannotChangeStopType, CannotRemoveStop, ClosingOnlyTradesAcceptedOnThisMarket, ClosingsOnlyAccount, ConflictingOrder, ContactSupportInstrumentError, CrSpacing, DuplicateOrderError, ExchangeManualOverride, ExpiryLessThanSprintMarketMinExpiry, FinanceRepeatDealing, ForceOpenOnSameMarketDifferentCurrency, GeneralError, GoodTillDateInThePast, InstrumentNotFound, InstrumentNotTradeableInThisCurrency, InsufficientFunds, LevelToleranceError, LimitOrderWrongSideOfMarket, ManualOrderTimeout, MarginError, MarketClosed, MarketClosedWithEdits, MarketClosing, MarketNotBorrowable, MarketOffline, MarketOrdersNotAllowedOnInstrument, MarketPhoneOnly, MarketRolled, MarketUnavailableToClient, MaxAutoSizeExceeded, MinimumOrderSizeError, MoveAwayOnlyLimit, MoveAwayOnlyStop, MoveAwayOnlyTriggerLevel, NcrPositionsOnCrAccount, OpposingDirectionOrdersNotAllowed, OpposingPositionsNotAllowed, OrderDeclined, OrderLocked, OrderNotFound, OrderSizeCannotBeFilled, OverNormalMarketSize, PartialyClosedPositionNotDeleted, PositionAlreadyExistsInOppositeDirection, PositionNotAvailableToCancel, PositionNotAvailableToClose, PositionNotFound, RejectCfdOrderOnSpreadbetAccount, RejectSpreadbetOrderOnCfdAccount, SizeIncrement, SprintMarketExpiryAfterMarketClose, StopOrLimitNotAllowed, StopRequiredError, StrikeLevelTolerance, Success, TrailingStopNotAllowed, Unknown, WrongSideOfMarket,
Variants
Trait Implementations
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 RefUnwindSafe for DealReason
impl Send for DealReason
impl Sync for DealReason
impl Unpin for DealReason
impl UnwindSafe for DealReason