Enum easyfix_messages::fields::TradeCondition
source · pub enum TradeCondition {
Show 77 variants
Cash,
AveragePriceTrade,
CashTrade,
NextDay,
OpeningReopeningTradeDetail,
IntradayTradeDetail,
Rule127Trade,
Rule155Trade,
SoldLast,
NextDayTrade,
Opened,
Seller,
Sold,
StoppedStock,
ImbalanceMoreBuyers,
ImbalanceMoreSellers,
OpeningPrice,
BargainCondition,
ConvertedPriceIndicator,
ExchangeLast,
FinalPriceOfSession,
ExPit,
CrossedX,
TradesResultingFromManualSlowQuote,
TradesResultingFromIntermarketSweep,
VolumeOnly,
DirectPlus,
Acquisition,
Bunched,
Distribution,
BunchedSale,
SplitTrade,
CancelStopped,
CancelEth,
CancelStoppedEth,
OutOfSequenceEth,
CancelLastEth,
SoldLastSaleEth,
CancelLast,
SoldLastSale,
CancelOpen,
CancelOpenEth,
OpenedSaleEth,
CancelOnly,
CancelOnlyEth,
LateOpenEth,
AutoExecutionEth,
Reopen,
ReopenEth,
Adjusted,
AdjustedEth,
Spread,
SpreadEth,
Straddle,
StraddleEth,
Stopped,
StoppedEth,
RegularEth,
Combo,
ComboEth,
OfficialClosingPrice,
PriorReferencePrice,
Cancel,
StoppedSoldLast,
StoppedOutOfSequence,
OfficalClosingPrice,
CrossedAo,
FastMarket,
AutomaticExecution,
FormT,
BasketIndex,
BurstBasket,
OutsideSpread,
ImpliedTrade,
MarketplaceEnteredTrade,
MultAssetClassMultilegTrade,
MultilegToMultilegTrade,
}
Variants§
Cash
AveragePriceTrade
CashTrade
NextDay
OpeningReopeningTradeDetail
IntradayTradeDetail
Rule127Trade
Rule155Trade
SoldLast
NextDayTrade
Opened
Seller
Sold
StoppedStock
ImbalanceMoreBuyers
ImbalanceMoreSellers
OpeningPrice
BargainCondition
ConvertedPriceIndicator
ExchangeLast
FinalPriceOfSession
ExPit
CrossedX
TradesResultingFromManualSlowQuote
TradesResultingFromIntermarketSweep
VolumeOnly
DirectPlus
Acquisition
Bunched
Distribution
BunchedSale
SplitTrade
CancelStopped
CancelEth
CancelStoppedEth
OutOfSequenceEth
CancelLastEth
SoldLastSaleEth
CancelLast
SoldLastSale
CancelOpen
CancelOpenEth
OpenedSaleEth
CancelOnly
CancelOnlyEth
LateOpenEth
AutoExecutionEth
Reopen
ReopenEth
Adjusted
AdjustedEth
Spread
SpreadEth
Straddle
StraddleEth
Stopped
StoppedEth
RegularEth
Combo
ComboEth
OfficialClosingPrice
PriorReferencePrice
Cancel
StoppedSoldLast
StoppedOutOfSequence
OfficalClosingPrice
CrossedAo
FastMarket
AutomaticExecution
FormT
BasketIndex
BurstBasket
OutsideSpread
ImpliedTrade
MarketplaceEnteredTrade
MultAssetClassMultilegTrade
MultilegToMultilegTrade
Implementations§
source§impl TradeCondition
impl TradeCondition
pub fn from_bytes(input: &[u8]) -> Option<TradeCondition>
pub fn from_fix_str(input: &FixStr) -> Option<TradeCondition>
pub fn as_bytes(&self) -> &'static [u8] ⓘ
pub fn as_fix_str(&self) -> &'static FixStr
Trait Implementations§
source§impl Clone for TradeCondition
impl Clone for TradeCondition
source§fn clone(&self) -> TradeCondition
fn clone(&self) -> TradeCondition
Returns a copy 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 TradeCondition
impl Debug for TradeCondition
source§impl From<TradeCondition> for &'static [u8]
impl From<TradeCondition> for &'static [u8]
source§impl PartialEq<TradeCondition> for TradeCondition
impl PartialEq<TradeCondition> for TradeCondition
source§fn eq(&self, other: &TradeCondition) -> bool
fn eq(&self, other: &TradeCondition) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToFixString for TradeCondition
impl ToFixString for TradeCondition
fn to_fix_string(&self) -> FixString
source§impl TryFrom<&FixStr> for TradeCondition
impl TryFrom<&FixStr> for TradeCondition
§type Error = SessionRejectReason
type Error = SessionRejectReason
The type returned in the event of a conversion error.
source§fn try_from(input: &FixStr) -> Result<TradeCondition, SessionRejectReason>
fn try_from(input: &FixStr) -> Result<TradeCondition, SessionRejectReason>
Performs the conversion.