pub struct AllocationReport(/* private fields */);Expand description
The AllocationReport (35=AS) message.
Implementations§
Source§impl AllocationReport
impl AllocationReport
pub const MSG_TYPE: &[u8] = b"AS"
pub fn from_raw(raw: RawMessage) -> Self
pub fn raw(&self) -> &RawMessage
pub fn header(&self) -> Header<'_>
pub fn trailer(&self) -> Trailer<'_>
Sourcepub fn alloc_report_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn alloc_report_id(&self) -> Result<Option<&str>, InvalidValue>
The AllocReportID (755) field.
Sourcepub fn alloc_trans_type(
&self,
) -> Result<Option<AllocTransType<'_>>, InvalidValue>
pub fn alloc_trans_type( &self, ) -> Result<Option<AllocTransType<'_>>, InvalidValue>
The AllocTransType (71) field.
Sourcepub fn alloc_report_ref_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn alloc_report_ref_id(&self) -> Result<Option<&str>, InvalidValue>
The AllocReportRefID (795) field.
Sourcepub fn alloc_canc_replace_reason(
&self,
) -> Result<Option<AllocCancReplaceReason>, InvalidValue>
pub fn alloc_canc_replace_reason( &self, ) -> Result<Option<AllocCancReplaceReason>, InvalidValue>
The AllocCancReplaceReason (796) field.
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 alloc_report_type(&self) -> Result<Option<AllocReportType>, InvalidValue>
pub fn alloc_report_type(&self) -> Result<Option<AllocReportType>, InvalidValue>
The AllocReportType (794) field.
Sourcepub fn alloc_status(&self) -> Result<Option<AllocStatus>, InvalidValue>
pub fn alloc_status(&self) -> Result<Option<AllocStatus>, InvalidValue>
The AllocStatus (87) field.
Sourcepub fn alloc_rej_code(&self) -> Result<Option<AllocRejCode>, InvalidValue>
pub fn alloc_rej_code(&self) -> Result<Option<AllocRejCode>, InvalidValue>
The AllocRejCode (88) field.
Sourcepub fn ref_alloc_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn ref_alloc_id(&self) -> Result<Option<&str>, InvalidValue>
The RefAllocID (72) field.
Sourcepub fn alloc_intermed_req_type(
&self,
) -> Result<Option<AllocIntermedReqType>, InvalidValue>
pub fn alloc_intermed_req_type( &self, ) -> Result<Option<AllocIntermedReqType>, InvalidValue>
The AllocIntermedReqType (808) field.
Sourcepub fn alloc_link_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn alloc_link_id(&self) -> Result<Option<&str>, InvalidValue>
The AllocLinkID (196) field.
Sourcepub fn alloc_link_type(&self) -> Result<Option<AllocLinkType>, InvalidValue>
pub fn alloc_link_type(&self) -> Result<Option<AllocLinkType>, InvalidValue>
The AllocLinkType (197) field.
Sourcepub fn booking_ref_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn booking_ref_id(&self) -> Result<Option<&str>, InvalidValue>
The BookingRefID (466) field.
Sourcepub fn alloc_no_orders_type(
&self,
) -> Result<Option<AllocNoOrdersType>, InvalidValue>
pub fn alloc_no_orders_type( &self, ) -> Result<Option<AllocNoOrdersType>, InvalidValue>
The AllocNoOrdersType (857) field.
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 execs(&self) -> Result<Instances<'_, ExecAllocGrp<'_>>, InvalidValue>
pub fn execs(&self) -> Result<Instances<'_, ExecAllocGrp<'_>>, InvalidValue>
The instances of the NoExecs (124) group.
Sourcepub fn previously_reported(&self) -> Result<Option<bool>, InvalidValue>
pub fn previously_reported(&self) -> Result<Option<bool>, InvalidValue>
The PreviouslyReported (570) field.
Sourcepub fn reversal_indicator(&self) -> Result<Option<bool>, InvalidValue>
pub fn reversal_indicator(&self) -> Result<Option<bool>, InvalidValue>
The ReversalIndicator (700) field.
Sourcepub fn match_type(&self) -> Result<Option<MatchType<'_>>, InvalidValue>
pub fn match_type(&self) -> Result<Option<MatchType<'_>>, InvalidValue>
The MatchType (574) field.
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 trade_origination_date(&self) -> Result<Option<Date>, InvalidValue>
pub fn trade_origination_date(&self) -> Result<Option<Date>, InvalidValue>
The TradeOriginationDate (229) field.
Sourcepub fn trading_session_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn trading_session_id(&self) -> Result<Option<&str>, InvalidValue>
The TradingSessionID (336) field.
Sourcepub fn trading_session_sub_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn trading_session_sub_id(&self) -> Result<Option<&str>, InvalidValue>
The TradingSessionSubID (625) 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 avg_px_precision(&self) -> Result<Option<i64>, InvalidValue>
pub fn avg_px_precision(&self) -> Result<Option<i64>, InvalidValue>
The AvgPxPrecision (74) 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 trade_date(&self) -> Result<Option<Date>, InvalidValue>
pub fn trade_date(&self) -> Result<Option<Date>, InvalidValue>
The TradeDate (75) 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 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 booking_type(&self) -> Result<Option<BookingType>, InvalidValue>
pub fn booking_type(&self) -> Result<Option<BookingType>, InvalidValue>
The BookingType (775) 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 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 position_effect(
&self,
) -> Result<Option<PositionEffect<'_>>, InvalidValue>
pub fn position_effect( &self, ) -> Result<Option<PositionEffect<'_>>, InvalidValue>
The PositionEffect (77) field.
Sourcepub fn auto_accept_indicator(&self) -> Result<Option<bool>, InvalidValue>
pub fn auto_accept_indicator(&self) -> Result<Option<bool>, InvalidValue>
The AutoAcceptIndicator (754) 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 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 total_accrued_interest_amt(
&self,
) -> Result<Option<Decimal>, InvalidValue>
pub fn total_accrued_interest_amt( &self, ) -> Result<Option<Decimal>, InvalidValue>
The TotalAccruedInterestAmt (540) 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 legal_confirm(&self) -> Result<Option<bool>, InvalidValue>
pub fn legal_confirm(&self) -> Result<Option<bool>, InvalidValue>
The LegalConfirm (650) 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 yield_data(&self) -> YieldData<'_>
pub fn yield_data(&self) -> YieldData<'_>
The YieldData component.
Sourcepub fn tot_no_allocs(&self) -> Result<Option<i64>, InvalidValue>
pub fn tot_no_allocs(&self) -> Result<Option<i64>, InvalidValue>
The TotNoAllocs (892) field.
Sourcepub fn last_fragment(&self) -> Result<Option<bool>, InvalidValue>
pub fn last_fragment(&self) -> Result<Option<bool>, InvalidValue>
The LastFragment (893) field.