Skip to main content

TradeCaptureReportAck

Struct TradeCaptureReportAck 

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

The TradeCaptureReportAck (35=AR) message.

Implementations§

Source§

impl TradeCaptureReportAck

Source

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

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 trade_report_id(&self) -> Result<Option<&str>, InvalidValue>

The TradeReportID (571) field.

Source

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

The TradeReportTransType (487) field.

Source

pub fn trade_report_type(&self) -> Result<Option<TradeReportType>, InvalidValue>

The TradeReportType (856) field.

Source

pub fn trd_type(&self) -> Result<Option<TrdType>, InvalidValue>

The TrdType (828) field.

Source

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

The TrdSubType (829) field.

Source

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

The SecondaryTrdType (855) field.

Source

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

The TransferReason (830) field.

Source

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

The ExecType (150) field.

Source

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

The TradeReportRefID (572) field.

Source

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

The SecondaryTradeReportRefID (881) field.

Source

pub fn trd_rpt_status(&self) -> Result<Option<TrdRptStatus>, InvalidValue>

The TrdRptStatus (939) field.

Source

pub fn trade_report_reject_reason( &self, ) -> Result<Option<TradeReportRejectReason>, InvalidValue>

The TradeReportRejectReason (751) field.

Source

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

The SecondaryTradeReportID (818) field.

Source

pub fn subscription_request_type( &self, ) -> Result<Option<SubscriptionRequestType<'_>>, InvalidValue>

The SubscriptionRequestType (263) field.

The TradeLinkID (820) field.

Source

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

The TrdMatchID (880) field.

Source

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

The ExecID (17) field.

Source

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

The SecondaryExecID (527) field.

Source

pub fn instrument(&self) -> Instrument<'_>

The Instrument component.

Source

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

The TransactTime (60) field.

Source

pub fn trd_reg_timestamps( &self, ) -> Result<Instances<'_, TrdRegTimestamps<'_>>, InvalidValue>

The instances of the NoTrdRegTimestamps (768) group.

Source

pub fn response_transport_type( &self, ) -> Result<Option<ResponseTransportType>, InvalidValue>

The ResponseTransportType (725) field.

Source

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

The ResponseDestination (726) 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 legs(&self) -> Result<Instances<'_, TrdInstrmtLegGrp<'_>>, InvalidValue>

The instances of the NoLegs (555) group.

Source

pub fn clearing_fee_indicator( &self, ) -> Result<Option<ClearingFeeIndicator<'_>>, InvalidValue>

The ClearingFeeIndicator (635) field.

Source

pub fn order_capacity(&self) -> Result<Option<OrderCapacity<'_>>, InvalidValue>

The OrderCapacity (528) field.

Source

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

The OrderRestrictions (529) field.

Source

pub fn cust_order_capacity( &self, ) -> Result<Option<CustOrderCapacity>, InvalidValue>

The CustOrderCapacity (582) field.

Source

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

The Account (1) field.

Source

pub fn acct_id_source(&self) -> Result<Option<AcctIDSource>, InvalidValue>

The AcctIDSource (660) field.

Source

pub fn account_type(&self) -> Result<Option<AccountType>, InvalidValue>

The AccountType (581) field.

Source

pub fn position_effect( &self, ) -> Result<Option<PositionEffect<'_>>, InvalidValue>

The PositionEffect (77) field.

Source

pub fn prealloc_method( &self, ) -> Result<Option<PreallocMethod<'_>>, InvalidValue>

The PreallocMethod (591) field.

Source

pub fn allocs(&self) -> Result<Instances<'_, TrdAllocGrp<'_>>, InvalidValue>

The instances of the NoAllocs (78) group.

Trait Implementations§

Source§

impl Debug for TradeCaptureReportAck

Source§

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

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

impl Display for TradeCaptureReportAck

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.