Struct TradeCaptureReport

Source
pub struct TradeCaptureReport { /* private fields */ }

Implementations§

Source§

impl TradeCaptureReport

Source

pub const MSG_TYPE_BYTES: &'static str = "AE"

Source

pub const MSG_TYPE: MsgType

Source

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

Source

pub fn header_mut(&mut self) -> HeaderMut<'_>

Source

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

Source

pub fn trailer_mut(&mut self) -> TrailerMut<'_>

Source

pub fn to_fix_string(&self) -> String

Convert inner message as FIX text.

This method is only here for debug / tests purposes. Do not use this in real production code.

Source§

impl TradeCaptureReport

Source

pub fn try_new( trade_report_id: TradeReportID, exec_type: ExecType, previously_reported: PreviouslyReported, last_qty: LastQty, last_px: LastPx, trade_date: TradeDate, transact_time: TransactTime, ) -> Result<Self, QuickFixError>

Source§

impl TradeCaptureReport

Source

pub fn get_trade_report_id(&self) -> TradeReportID

Source

pub fn get_trade_report_trans_type(&self) -> Option<TradeReportTransType>

Source

pub fn get_trade_request_id(&self) -> Option<TradeRequestID>

Source

pub fn get_exec_type(&self) -> ExecType

Source

pub fn get_trade_report_ref_id(&self) -> Option<TradeReportRefID>

Source

pub fn get_exec_id(&self) -> Option<ExecID>

Source

pub fn get_secondary_exec_id(&self) -> Option<SecondaryExecID>

Source

pub fn get_exec_restatement_reason(&self) -> Option<ExecRestatementReason>

Source

pub fn get_previously_reported(&self) -> PreviouslyReported

Source

pub fn get_symbol(&self) -> Option<Symbol>

Source

pub fn get_symbol_sfx(&self) -> Option<SymbolSfx>

Source

pub fn get_security_id(&self) -> Option<SecurityID>

Source

pub fn get_security_id_source(&self) -> Option<SecurityIDSource>

Source

pub fn no_security_alt_id_len(&self) -> usize

Source

pub fn clone_group_no_security_alt_id( &self, index: usize, ) -> Option<NoSecurityAltID>

Source

pub fn iter_no_security_alt_id( &self, ) -> GroupIterator<'_, Self, NoSecurityAltID>

Source

pub fn get_product(&self) -> Option<Product>

Source

pub fn get_cfi_code(&self) -> Option<CFICode>

Source

pub fn get_security_type(&self) -> Option<SecurityType>

Source

pub fn get_maturity_month_year(&self) -> Option<MaturityMonthYear>

Source

pub fn get_maturity_date(&self) -> Option<MaturityDate>

Source

pub fn get_coupon_payment_date(&self) -> Option<CouponPaymentDate>

Source

pub fn get_issue_date(&self) -> Option<IssueDate>

Source

pub fn get_repo_collateral_security_type( &self, ) -> Option<RepoCollateralSecurityType>

Source

pub fn get_repurchase_term(&self) -> Option<RepurchaseTerm>

Source

pub fn get_repurchase_rate(&self) -> Option<RepurchaseRate>

Source

pub fn get_factor(&self) -> Option<Factor>

Source

pub fn get_credit_rating(&self) -> Option<CreditRating>

Source

pub fn get_instr_registry(&self) -> Option<InstrRegistry>

Source

pub fn get_country_of_issue(&self) -> Option<CountryOfIssue>

Source

pub fn get_state_or_province_of_issue(&self) -> Option<StateOrProvinceOfIssue>

Source

pub fn get_locale_of_issue(&self) -> Option<LocaleOfIssue>

Source

pub fn get_redemption_date(&self) -> Option<RedemptionDate>

Source

pub fn get_strike_price(&self) -> Option<StrikePrice>

Source

pub fn get_opt_attribute(&self) -> Option<OptAttribute>

Source

pub fn get_contract_multiplier(&self) -> Option<ContractMultiplier>

Source

pub fn get_coupon_rate(&self) -> Option<CouponRate>

Source

pub fn get_security_exchange(&self) -> Option<SecurityExchange>

Source

pub fn get_issuer(&self) -> Option<Issuer>

Source

pub fn get_encoded_issuer_len(&self) -> Option<EncodedIssuerLen>

Source

pub fn get_encoded_issuer(&self) -> Option<EncodedIssuer>

Source

pub fn get_security_desc(&self) -> Option<SecurityDesc>

Source

pub fn get_encoded_security_desc_len(&self) -> Option<EncodedSecurityDescLen>

Source

pub fn get_encoded_security_desc(&self) -> Option<EncodedSecurityDesc>

Source

pub fn get_order_qty(&self) -> Option<OrderQty>

Source

pub fn get_cash_order_qty(&self) -> Option<CashOrderQty>

Source

pub fn get_order_percent(&self) -> Option<OrderPercent>

Source

pub fn get_rounding_direction(&self) -> Option<RoundingDirection>

Source

pub fn get_rounding_modulus(&self) -> Option<RoundingModulus>

Source

pub fn get_last_qty(&self) -> LastQty

Source

pub fn get_last_px(&self) -> LastPx

Source

pub fn get_last_spot_rate(&self) -> Option<LastSpotRate>

Source

pub fn get_last_forward_points(&self) -> Option<LastForwardPoints>

Source

pub fn get_last_mkt(&self) -> Option<LastMkt>

Source

pub fn get_trade_date(&self) -> TradeDate

Source

pub fn get_transact_time(&self) -> TransactTime

Source

pub fn get_settlmnt_typ(&self) -> Option<SettlmntTyp>

Source

pub fn get_fut_sett_date(&self) -> Option<FutSettDate>

Source

pub fn get_match_status(&self) -> Option<MatchStatus>

Source

pub fn get_match_type(&self) -> Option<MatchType>

Source

pub fn no_sides_len(&self) -> usize

Source

pub fn clone_group_no_sides(&self, index: usize) -> Option<NoSides>

Source

pub fn iter_no_sides(&self) -> GroupIterator<'_, Self, NoSides>

Source

pub fn set_trade_report_id( &mut self, value: TradeReportID, ) -> Result<&Self, QuickFixError>

Source

pub fn set_trade_report_trans_type( &mut self, value: TradeReportTransType, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_trade_report_trans_type(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_trade_request_id( &mut self, value: TradeRequestID, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_trade_request_id(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_exec_type(&mut self, value: ExecType) -> Result<&Self, QuickFixError>

Source

pub fn set_trade_report_ref_id( &mut self, value: TradeReportRefID, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_trade_report_ref_id(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_exec_id(&mut self, value: ExecID) -> Result<&Self, QuickFixError>

Source

pub fn remove_exec_id(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_secondary_exec_id( &mut self, value: SecondaryExecID, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_secondary_exec_id(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_exec_restatement_reason( &mut self, value: ExecRestatementReason, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_exec_restatement_reason(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_previously_reported( &mut self, value: PreviouslyReported, ) -> Result<&Self, QuickFixError>

Source

pub fn set_symbol(&mut self, value: Symbol) -> Result<&Self, QuickFixError>

Source

pub fn remove_symbol(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_symbol_sfx( &mut self, value: SymbolSfx, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_symbol_sfx(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_security_id( &mut self, value: SecurityID, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_security_id(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_security_id_source( &mut self, value: SecurityIDSource, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_security_id_source(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn add_no_security_alt_id( &mut self, value: NoSecurityAltID, ) -> Result<&Self, QuickFixError>

Source

pub fn set_product(&mut self, value: Product) -> Result<&Self, QuickFixError>

Source

pub fn remove_product(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_cfi_code(&mut self, value: CFICode) -> Result<&Self, QuickFixError>

Source

pub fn remove_cfi_code(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_security_type( &mut self, value: SecurityType, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_security_type(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_maturity_month_year( &mut self, value: MaturityMonthYear, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_maturity_month_year(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_maturity_date( &mut self, value: MaturityDate, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_maturity_date(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_coupon_payment_date( &mut self, value: CouponPaymentDate, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_coupon_payment_date(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_issue_date( &mut self, value: IssueDate, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_issue_date(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_repo_collateral_security_type( &mut self, value: RepoCollateralSecurityType, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_repo_collateral_security_type( &mut self, ) -> Result<&Self, QuickFixError>

Source

pub fn set_repurchase_term( &mut self, value: RepurchaseTerm, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_repurchase_term(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_repurchase_rate( &mut self, value: RepurchaseRate, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_repurchase_rate(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_factor(&mut self, value: Factor) -> Result<&Self, QuickFixError>

Source

pub fn remove_factor(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_credit_rating( &mut self, value: CreditRating, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_credit_rating(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_instr_registry( &mut self, value: InstrRegistry, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_instr_registry(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_country_of_issue( &mut self, value: CountryOfIssue, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_country_of_issue(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_state_or_province_of_issue( &mut self, value: StateOrProvinceOfIssue, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_state_or_province_of_issue( &mut self, ) -> Result<&Self, QuickFixError>

Source

pub fn set_locale_of_issue( &mut self, value: LocaleOfIssue, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_locale_of_issue(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_redemption_date( &mut self, value: RedemptionDate, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_redemption_date(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_strike_price( &mut self, value: StrikePrice, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_strike_price(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_opt_attribute( &mut self, value: OptAttribute, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_opt_attribute(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_contract_multiplier( &mut self, value: ContractMultiplier, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_contract_multiplier(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_coupon_rate( &mut self, value: CouponRate, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_coupon_rate(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_security_exchange( &mut self, value: SecurityExchange, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_security_exchange(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_issuer(&mut self, value: Issuer) -> Result<&Self, QuickFixError>

Source

pub fn remove_issuer(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_encoded_issuer_len( &mut self, value: EncodedIssuerLen, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_encoded_issuer_len(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_encoded_issuer( &mut self, value: EncodedIssuer, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_encoded_issuer(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_security_desc( &mut self, value: SecurityDesc, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_security_desc(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_encoded_security_desc_len( &mut self, value: EncodedSecurityDescLen, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_encoded_security_desc_len( &mut self, ) -> Result<&Self, QuickFixError>

Source

pub fn set_encoded_security_desc( &mut self, value: EncodedSecurityDesc, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_encoded_security_desc(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_order_qty(&mut self, value: OrderQty) -> Result<&Self, QuickFixError>

Source

pub fn remove_order_qty(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_cash_order_qty( &mut self, value: CashOrderQty, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_cash_order_qty(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_order_percent( &mut self, value: OrderPercent, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_order_percent(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_rounding_direction( &mut self, value: RoundingDirection, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_rounding_direction(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_rounding_modulus( &mut self, value: RoundingModulus, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_rounding_modulus(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_last_qty(&mut self, value: LastQty) -> Result<&Self, QuickFixError>

Source

pub fn set_last_px(&mut self, value: LastPx) -> Result<&Self, QuickFixError>

Source

pub fn set_last_spot_rate( &mut self, value: LastSpotRate, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_last_spot_rate(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_last_forward_points( &mut self, value: LastForwardPoints, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_last_forward_points(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_last_mkt(&mut self, value: LastMkt) -> Result<&Self, QuickFixError>

Source

pub fn remove_last_mkt(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_trade_date( &mut self, value: TradeDate, ) -> Result<&Self, QuickFixError>

Source

pub fn set_transact_time( &mut self, value: TransactTime, ) -> Result<&Self, QuickFixError>

Source

pub fn set_settlmnt_typ( &mut self, value: SettlmntTyp, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_settlmnt_typ(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_fut_sett_date( &mut self, value: FutSettDate, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_fut_sett_date(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_match_status( &mut self, value: MatchStatus, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_match_status(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_match_type( &mut self, value: MatchType, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_match_type(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn add_no_sides(&mut self, value: NoSides) -> Result<&Self, QuickFixError>

Trait Implementations§

Source§

impl Clone for TradeCaptureReport

Source§

fn clone(&self) -> TradeCaptureReport

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TradeCaptureReport

Source§

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

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

impl From<Message> for TradeCaptureReport

Source§

fn from(input: Message) -> Self

Converts to this type from the input type.
Source§

impl From<TradeCaptureReport> for Message

Source§

fn from(input: TradeCaptureReport) -> Self

Converts to this type from the input type.

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

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

Source§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.