pub struct Confirmation(/* private fields */);Expand description
The Confirmation (35=AK) message.
Implementations§
Source§impl Confirmation
impl Confirmation
pub const MSG_TYPE: &[u8] = b"AK"
pub fn from_raw(raw: RawMessage) -> Self
pub fn raw(&self) -> &RawMessage
pub fn header(&self) -> Header<'_>
pub fn trailer(&self) -> Trailer<'_>
Sourcepub fn confirm_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn confirm_id(&self) -> Result<Option<&str>, InvalidValue>
The ConfirmID (664) field.
Sourcepub fn confirm_ref_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn confirm_ref_id(&self) -> Result<Option<&str>, InvalidValue>
The ConfirmRefID (772) field.
Sourcepub fn confirm_req_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn confirm_req_id(&self) -> Result<Option<&str>, InvalidValue>
The ConfirmReqID (859) field.
Sourcepub fn confirm_trans_type(
&self,
) -> Result<Option<ConfirmTransType>, InvalidValue>
pub fn confirm_trans_type( &self, ) -> Result<Option<ConfirmTransType>, InvalidValue>
The ConfirmTransType (666) field.
Sourcepub fn confirm_type(&self) -> Result<Option<ConfirmType>, InvalidValue>
pub fn confirm_type(&self) -> Result<Option<ConfirmType>, InvalidValue>
The ConfirmType (773) field.
Sourcepub fn copy_msg_indicator(&self) -> Result<Option<bool>, InvalidValue>
pub fn copy_msg_indicator(&self) -> Result<Option<bool>, InvalidValue>
The CopyMsgIndicator (797) field.
Sourcepub fn legal_confirm(&self) -> Result<Option<bool>, InvalidValue>
pub fn legal_confirm(&self) -> Result<Option<bool>, InvalidValue>
The LegalConfirm (650) field.
Sourcepub fn confirm_status(&self) -> Result<Option<ConfirmStatus>, InvalidValue>
pub fn confirm_status(&self) -> Result<Option<ConfirmStatus>, InvalidValue>
The ConfirmStatus (665) field.
Sourcepub fn party_ids(&self) -> Result<Instances<'_, Parties<'_>>, InvalidValue>
pub fn party_ids(&self) -> Result<Instances<'_, Parties<'_>>, InvalidValue>
The instances of the NoPartyIDs (453) group.
Sourcepub fn orders(&self) -> Result<Instances<'_, OrdAllocGrp<'_>>, InvalidValue>
pub fn orders(&self) -> Result<Instances<'_, OrdAllocGrp<'_>>, InvalidValue>
The instances of the NoOrders (73) group.
Sourcepub fn secondary_alloc_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn secondary_alloc_id(&self) -> Result<Option<&str>, InvalidValue>
The SecondaryAllocID (793) field.
Sourcepub fn individual_alloc_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn individual_alloc_id(&self) -> Result<Option<&str>, InvalidValue>
The IndividualAllocID (467) field.
Sourcepub fn transact_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
pub fn transact_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
The TransactTime (60) field.
Sourcepub fn trade_date(&self) -> Result<Option<Date>, InvalidValue>
pub fn trade_date(&self) -> Result<Option<Date>, InvalidValue>
The TradeDate (75) field.
Sourcepub fn trd_reg_timestamps(
&self,
) -> Result<Instances<'_, TrdRegTimestamps<'_>>, InvalidValue>
pub fn trd_reg_timestamps( &self, ) -> Result<Instances<'_, TrdRegTimestamps<'_>>, InvalidValue>
The instances of the NoTrdRegTimestamps (768) group.
Sourcepub fn instrument(&self) -> Instrument<'_>
pub fn instrument(&self) -> Instrument<'_>
The Instrument component.
Sourcepub fn instrument_extension(&self) -> InstrumentExtension<'_>
pub fn instrument_extension(&self) -> InstrumentExtension<'_>
The InstrumentExtension component.
Sourcepub fn financing_details(&self) -> FinancingDetails<'_>
pub fn financing_details(&self) -> FinancingDetails<'_>
The FinancingDetails component.
Sourcepub fn underlyings(
&self,
) -> Result<Instances<'_, UndInstrmtGrp<'_>>, InvalidValue>
pub fn underlyings( &self, ) -> Result<Instances<'_, UndInstrmtGrp<'_>>, InvalidValue>
The instances of the NoUnderlyings (711) group.
Sourcepub fn legs(&self) -> Result<Instances<'_, InstrmtLegGrp<'_>>, InvalidValue>
pub fn legs(&self) -> Result<Instances<'_, InstrmtLegGrp<'_>>, InvalidValue>
The instances of the NoLegs (555) group.
Sourcepub fn yield_data(&self) -> YieldData<'_>
pub fn yield_data(&self) -> YieldData<'_>
The YieldData component.
Sourcepub fn capacities(
&self,
) -> Result<Instances<'_, CpctyConfGrp<'_>>, InvalidValue>
pub fn capacities( &self, ) -> Result<Instances<'_, CpctyConfGrp<'_>>, InvalidValue>
The instances of the NoCapacities (862) group.
Sourcepub fn alloc_account(&self) -> Result<Option<&str>, InvalidValue>
pub fn alloc_account(&self) -> Result<Option<&str>, InvalidValue>
The AllocAccount (79) field.
Sourcepub fn alloc_acct_id_source(&self) -> Result<Option<i64>, InvalidValue>
pub fn alloc_acct_id_source(&self) -> Result<Option<i64>, InvalidValue>
The AllocAcctIDSource (661) field.
Sourcepub fn alloc_account_type(
&self,
) -> Result<Option<AllocAccountType>, InvalidValue>
pub fn alloc_account_type( &self, ) -> Result<Option<AllocAccountType>, InvalidValue>
The AllocAccountType (798) field.
Sourcepub fn avg_px_precision(&self) -> Result<Option<i64>, InvalidValue>
pub fn avg_px_precision(&self) -> Result<Option<i64>, InvalidValue>
The AvgPxPrecision (74) field.
Sourcepub fn price_type(&self) -> Result<Option<PriceType>, InvalidValue>
pub fn price_type(&self) -> Result<Option<PriceType>, InvalidValue>
The PriceType (423) field.
Sourcepub fn avg_par_px(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn avg_par_px(&self) -> Result<Option<Decimal>, InvalidValue>
The AvgParPx (860) field.
Sourcepub fn spread_or_benchmark_curve_data(&self) -> SpreadOrBenchmarkCurveData<'_>
pub fn spread_or_benchmark_curve_data(&self) -> SpreadOrBenchmarkCurveData<'_>
The SpreadOrBenchmarkCurveData component.
Sourcepub fn reported_px(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn reported_px(&self) -> Result<Option<Decimal>, InvalidValue>
The ReportedPx (861) field.
Sourcepub fn encoded_text_len(&self) -> Result<Option<i64>, InvalidValue>
pub fn encoded_text_len(&self) -> Result<Option<i64>, InvalidValue>
The EncodedTextLen (354) field.
Sourcepub fn encoded_text(&self) -> Option<&[u8]>
pub fn encoded_text(&self) -> Option<&[u8]>
The EncodedText (355) field.
Sourcepub fn process_code(&self) -> Result<Option<ProcessCode<'_>>, InvalidValue>
pub fn process_code(&self) -> Result<Option<ProcessCode<'_>>, InvalidValue>
The ProcessCode (81) field.
Sourcepub fn gross_trade_amt(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn gross_trade_amt(&self) -> Result<Option<Decimal>, InvalidValue>
The GrossTradeAmt (381) field.
Sourcepub fn num_days_interest(&self) -> Result<Option<i64>, InvalidValue>
pub fn num_days_interest(&self) -> Result<Option<i64>, InvalidValue>
The NumDaysInterest (157) field.
Sourcepub fn accrued_interest_rate(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn accrued_interest_rate(&self) -> Result<Option<Decimal>, InvalidValue>
The AccruedInterestRate (158) field.
Sourcepub fn accrued_interest_amt(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn accrued_interest_amt(&self) -> Result<Option<Decimal>, InvalidValue>
The AccruedInterestAmt (159) field.
Sourcepub fn interest_at_maturity(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn interest_at_maturity(&self) -> Result<Option<Decimal>, InvalidValue>
The InterestAtMaturity (738) field.
Sourcepub fn end_accrued_interest_amt(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn end_accrued_interest_amt(&self) -> Result<Option<Decimal>, InvalidValue>
The EndAccruedInterestAmt (920) field.
Sourcepub fn start_cash(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn start_cash(&self) -> Result<Option<Decimal>, InvalidValue>
The StartCash (921) field.
Sourcepub fn concession(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn concession(&self) -> Result<Option<Decimal>, InvalidValue>
The Concession (238) field.
Sourcepub fn total_takedown(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn total_takedown(&self) -> Result<Option<Decimal>, InvalidValue>
The TotalTakedown (237) field.
Sourcepub fn maturity_net_money(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn maturity_net_money(&self) -> Result<Option<Decimal>, InvalidValue>
The MaturityNetMoney (890) field.
Sourcepub fn settl_curr_amt(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn settl_curr_amt(&self) -> Result<Option<Decimal>, InvalidValue>
The SettlCurrAmt (119) field.
Sourcepub fn settl_currency(&self) -> Result<Option<&str>, InvalidValue>
pub fn settl_currency(&self) -> Result<Option<&str>, InvalidValue>
The SettlCurrency (120) field.
Sourcepub fn settl_curr_fx_rate(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn settl_curr_fx_rate(&self) -> Result<Option<Decimal>, InvalidValue>
The SettlCurrFxRate (155) field.
Sourcepub fn settl_curr_fx_rate_calc(
&self,
) -> Result<Option<SettlCurrFxRateCalc<'_>>, InvalidValue>
pub fn settl_curr_fx_rate_calc( &self, ) -> Result<Option<SettlCurrFxRateCalc<'_>>, InvalidValue>
The SettlCurrFxRateCalc (156) field.
Sourcepub fn settl_type(&self) -> Result<Option<SettlType<'_>>, InvalidValue>
pub fn settl_type(&self) -> Result<Option<SettlType<'_>>, InvalidValue>
The SettlType (63) field.
Sourcepub fn settl_date(&self) -> Result<Option<Date>, InvalidValue>
pub fn settl_date(&self) -> Result<Option<Date>, InvalidValue>
The SettlDate (64) field.
Sourcepub fn settl_instructions_data(&self) -> SettlInstructionsData<'_>
pub fn settl_instructions_data(&self) -> SettlInstructionsData<'_>
The SettlInstructionsData component.
Sourcepub fn commission_data(&self) -> CommissionData<'_>
pub fn commission_data(&self) -> CommissionData<'_>
The CommissionData component.
The SharedCommission (858) field.
Sourcepub fn stipulations(
&self,
) -> Result<Instances<'_, Stipulations<'_>>, InvalidValue>
pub fn stipulations( &self, ) -> Result<Instances<'_, Stipulations<'_>>, InvalidValue>
The instances of the NoStipulations (232) group.
Sourcepub fn misc_fees(&self) -> Result<Instances<'_, MiscFeesGrp<'_>>, InvalidValue>
pub fn misc_fees(&self) -> Result<Instances<'_, MiscFeesGrp<'_>>, InvalidValue>
The instances of the NoMiscFees (136) group.