Skip to main content

ExecutionReport

Struct ExecutionReport 

Source
pub struct ExecutionReport(/* private fields */);
Expand description

The ExecutionReport (35=8) message.

Implementations§

Source§

impl ExecutionReport

Source

pub const MSG_TYPE: &[u8] = b"8"

Source

pub const KNOWN_TAGS: KnownTags<'static>

Source

pub fn from_raw(raw: RawMessage) -> Self

Source

pub fn raw(&self) -> &RawMessage

Source

pub fn header(&self) -> Header<'_>

Source

pub fn trailer(&self) -> Trailer<'_>

Source

pub fn order_id(&self) -> Result<Option<&str>, InvalidValue>

The OrderID (37) field.

Source

pub fn secondary_order_id(&self) -> Result<Option<&str>, InvalidValue>

The SecondaryOrderID (198) field.

Source

pub fn cl_ord_id(&self) -> Result<Option<&str>, InvalidValue>

The ClOrdID (11) field.

Source

pub fn orig_cl_ord_id(&self) -> Result<Option<&str>, InvalidValue>

The OrigClOrdID (41) field.

Source

pub fn client_id(&self) -> Result<Option<&str>, InvalidValue>

The ClientID (109) field.

Source

pub fn exec_broker(&self) -> Result<Option<&str>, InvalidValue>

The ExecBroker (76) field.

Source

pub fn contra_brokers( &self, ) -> Result<Instances<'_, Instance<'_>>, InvalidValue>

The instances of the NoContraBrokers (382) group.

Source

pub fn list_id(&self) -> Result<Option<&str>, InvalidValue>

The ListID (66) field.

Source

pub fn exec_id(&self) -> Result<Option<&str>, InvalidValue>

The ExecID (17) field.

Source

pub fn exec_trans_type(&self) -> Result<Option<ExecTransType<'_>>, InvalidValue>

The ExecTransType (20) field.

Source

pub fn exec_ref_id(&self) -> Result<Option<&str>, InvalidValue>

The ExecRefID (19) field.

Source

pub fn exec_type(&self) -> Result<Option<ExecType<'_>>, InvalidValue>

The ExecType (150) field.

Source

pub fn ord_status(&self) -> Result<Option<OrdStatus<'_>>, InvalidValue>

The OrdStatus (39) field.

Source

pub fn ord_rej_reason(&self) -> Result<Option<OrdRejReason>, InvalidValue>

The OrdRejReason (103) field.

Source

pub fn exec_restatement_reason( &self, ) -> Result<Option<ExecRestatementReason>, InvalidValue>

The ExecRestatementReason (378) field.

Source

pub fn account(&self) -> Result<Option<&str>, InvalidValue>

The Account (1) field.

Source

pub fn settlmnt_typ(&self) -> Result<Option<SettlmntTyp<'_>>, InvalidValue>

The SettlmntTyp (63) field.

Source

pub fn fut_sett_date(&self) -> Result<Option<Date>, InvalidValue>

The FutSettDate (64) field.

Source

pub fn symbol(&self) -> Result<Option<&str>, InvalidValue>

The Symbol (55) field.

Source

pub fn symbol_sfx(&self) -> Result<Option<&str>, InvalidValue>

The SymbolSfx (65) field.

Source

pub fn security_id(&self) -> Result<Option<&str>, InvalidValue>

The SecurityID (48) field.

Source

pub fn id_source(&self) -> Result<Option<IDSource<'_>>, InvalidValue>

The IDSource (22) field.

Source

pub fn security_type(&self) -> Result<Option<SecurityType<'_>>, InvalidValue>

The SecurityType (167) field.

Source

pub fn maturity_month_year(&self) -> Result<Option<MonthYear>, InvalidValue>

The MaturityMonthYear (200) field.

Source

pub fn maturity_day(&self) -> Result<Option<i64>, InvalidValue>

The MaturityDay (205) field.

Source

pub fn put_or_call(&self) -> Result<Option<PutOrCall>, InvalidValue>

The PutOrCall (201) field.

Source

pub fn strike_price(&self) -> Result<Option<Decimal>, InvalidValue>

The StrikePrice (202) field.

Source

pub fn opt_attribute(&self) -> Result<Option<&str>, InvalidValue>

The OptAttribute (206) field.

Source

pub fn contract_multiplier(&self) -> Result<Option<Decimal>, InvalidValue>

The ContractMultiplier (231) field.

Source

pub fn coupon_rate(&self) -> Result<Option<Decimal>, InvalidValue>

The CouponRate (223) field.

Source

pub fn security_exchange(&self) -> Result<Option<&str>, InvalidValue>

The SecurityExchange (207) field.

Source

pub fn issuer(&self) -> Result<Option<&str>, InvalidValue>

The Issuer (106) field.

Source

pub fn encoded_issuer_len(&self) -> Result<Option<i64>, InvalidValue>

The EncodedIssuerLen (348) field.

Source

pub fn encoded_issuer(&self) -> Option<&[u8]>

The EncodedIssuer (349) field.

Source

pub fn security_desc(&self) -> Result<Option<&str>, InvalidValue>

The SecurityDesc (107) field.

Source

pub fn encoded_security_desc_len(&self) -> Result<Option<i64>, InvalidValue>

The EncodedSecurityDescLen (350) field.

Source

pub fn encoded_security_desc(&self) -> Option<&[u8]>

The EncodedSecurityDesc (351) field.

Source

pub fn side(&self) -> Result<Option<Side<'_>>, InvalidValue>

The Side (54) field.

Source

pub fn order_qty(&self) -> Result<Option<Decimal>, InvalidValue>

The OrderQty (38) field.

Source

pub fn cash_order_qty(&self) -> Result<Option<Decimal>, InvalidValue>

The CashOrderQty (152) field.

Source

pub fn ord_type(&self) -> Result<Option<OrdType<'_>>, InvalidValue>

The OrdType (40) field.

Source

pub fn price(&self) -> Result<Option<Decimal>, InvalidValue>

The Price (44) field.

Source

pub fn stop_px(&self) -> Result<Option<Decimal>, InvalidValue>

The StopPx (99) field.

Source

pub fn peg_difference(&self) -> Result<Option<Decimal>, InvalidValue>

The PegDifference (211) field.

Source

pub fn discretion_inst( &self, ) -> Result<Option<DiscretionInst<'_>>, InvalidValue>

The DiscretionInst (388) field.

Source

pub fn discretion_offset(&self) -> Result<Option<Decimal>, InvalidValue>

The DiscretionOffset (389) field.

Source

pub fn currency(&self) -> Result<Option<&str>, InvalidValue>

The Currency (15) field.

Source

pub fn compliance_id(&self) -> Result<Option<&str>, InvalidValue>

The ComplianceID (376) field.

Source

pub fn solicited_flag(&self) -> Result<Option<bool>, InvalidValue>

The SolicitedFlag (377) field.

Source

pub fn time_in_force(&self) -> Result<Option<TimeInForce<'_>>, InvalidValue>

The TimeInForce (59) field.

Source

pub fn effective_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>

The EffectiveTime (168) field.

Source

pub fn expire_date(&self) -> Result<Option<Date>, InvalidValue>

The ExpireDate (432) field.

Source

pub fn expire_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>

The ExpireTime (126) field.

Source

pub fn exec_inst( &self, ) -> Result<Option<MultipleValues<'_, ExecInst<'_>>>, InvalidValue>

The ExecInst (18) field.

Source

pub fn rule80_a(&self) -> Result<Option<Rule80A<'_>>, InvalidValue>

The Rule80A (47) field.

Source

pub fn last_shares(&self) -> Result<Option<Decimal>, InvalidValue>

The LastShares (32) field.

Source

pub fn last_px(&self) -> Result<Option<Decimal>, InvalidValue>

The LastPx (31) field.

Source

pub fn last_spot_rate(&self) -> Result<Option<Decimal>, InvalidValue>

The LastSpotRate (194) field.

Source

pub fn last_forward_points(&self) -> Result<Option<Decimal>, InvalidValue>

The LastForwardPoints (195) field.

Source

pub fn last_mkt(&self) -> Result<Option<&str>, InvalidValue>

The LastMkt (30) field.

Source

pub fn trading_session_id(&self) -> Result<Option<&str>, InvalidValue>

The TradingSessionID (336) field.

Source

pub fn last_capacity(&self) -> Result<Option<LastCapacity<'_>>, InvalidValue>

The LastCapacity (29) field.

Source

pub fn leaves_qty(&self) -> Result<Option<Decimal>, InvalidValue>

The LeavesQty (151) field.

Source

pub fn cum_qty(&self) -> Result<Option<Decimal>, InvalidValue>

The CumQty (14) field.

Source

pub fn avg_px(&self) -> Result<Option<Decimal>, InvalidValue>

The AvgPx (6) field.

Source

pub fn day_order_qty(&self) -> Result<Option<Decimal>, InvalidValue>

The DayOrderQty (424) field.

Source

pub fn day_cum_qty(&self) -> Result<Option<Decimal>, InvalidValue>

The DayCumQty (425) field.

Source

pub fn day_avg_px(&self) -> Result<Option<Decimal>, InvalidValue>

The DayAvgPx (426) field.

Source

pub fn gt_booking_inst(&self) -> Result<Option<GTBookingInst>, InvalidValue>

The GTBookingInst (427) field.

Source

pub fn trade_date(&self) -> Result<Option<Date>, InvalidValue>

The TradeDate (75) field.

Source

pub fn transact_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>

The TransactTime (60) field.

Source

pub fn report_to_exch(&self) -> Result<Option<bool>, InvalidValue>

The ReportToExch (113) field.

Source

pub fn commission(&self) -> Result<Option<Decimal>, InvalidValue>

The Commission (12) field.

Source

pub fn comm_type(&self) -> Result<Option<CommType<'_>>, InvalidValue>

The CommType (13) field.

Source

pub fn gross_trade_amt(&self) -> Result<Option<Decimal>, InvalidValue>

The GrossTradeAmt (381) field.

Source

pub fn settl_curr_amt(&self) -> Result<Option<Decimal>, InvalidValue>

The SettlCurrAmt (119) field.

Source

pub fn settl_currency(&self) -> Result<Option<&str>, InvalidValue>

The SettlCurrency (120) field.

Source

pub fn settl_curr_fx_rate(&self) -> Result<Option<Decimal>, InvalidValue>

The SettlCurrFxRate (155) field.

Source

pub fn settl_curr_fx_rate_calc(&self) -> Result<Option<&str>, InvalidValue>

The SettlCurrFxRateCalc (156) field.

Source

pub fn handl_inst(&self) -> Result<Option<HandlInst<'_>>, InvalidValue>

The HandlInst (21) field.

Source

pub fn min_qty(&self) -> Result<Option<Decimal>, InvalidValue>

The MinQty (110) field.

Source

pub fn max_floor(&self) -> Result<Option<Decimal>, InvalidValue>

The MaxFloor (111) field.

Source

pub fn open_close(&self) -> Result<Option<OpenClose<'_>>, InvalidValue>

The OpenClose (77) field.

Source

pub fn max_show(&self) -> Result<Option<Decimal>, InvalidValue>

The MaxShow (210) field.

Source

pub fn text(&self) -> Result<Option<&str>, InvalidValue>

The Text (58) field.

Source

pub fn encoded_text_len(&self) -> Result<Option<i64>, InvalidValue>

The EncodedTextLen (354) field.

Source

pub fn encoded_text(&self) -> Option<&[u8]>

The EncodedText (355) field.

Source

pub fn fut_sett_date2(&self) -> Result<Option<Date>, InvalidValue>

The FutSettDate2 (193) field.

Source

pub fn order_qty2(&self) -> Result<Option<Decimal>, InvalidValue>

The OrderQty2 (192) field.

Source

pub fn clearing_firm(&self) -> Result<Option<&str>, InvalidValue>

The ClearingFirm (439) field.

Source

pub fn clearing_account(&self) -> Result<Option<&str>, InvalidValue>

The ClearingAccount (440) field.

Source

pub fn multi_leg_reporting_type( &self, ) -> Result<Option<MultiLegReportingType<'_>>, InvalidValue>

The MultiLegReportingType (442) field.

Trait Implementations§

Source§

impl Debug for ExecutionReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for ExecutionReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.