pub struct QuoteResponse(/* private fields */);Expand description
The QuoteResponse (35=AJ) message.
Implementations§
Source§impl QuoteResponse
impl QuoteResponse
pub const MSG_TYPE: &[u8] = b"AJ"
pub const KNOWN_TAGS: KnownTags<'static>
pub fn from_raw(raw: RawMessage) -> Self
pub fn raw(&self) -> &RawMessage
pub fn header(&self) -> Header<'_>
pub fn trailer(&self) -> Trailer<'_>
Sourcepub fn quote_resp_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn quote_resp_id(&self) -> Result<Option<&str>, InvalidValue>
The QuoteRespID (693) field.
Sourcepub fn quote_resp_type(&self) -> Result<Option<QuoteRespType>, InvalidValue>
pub fn quote_resp_type(&self) -> Result<Option<QuoteRespType>, InvalidValue>
The QuoteRespType (694) field.
Sourcepub fn order_capacity(&self) -> Result<Option<OrderCapacity<'_>>, InvalidValue>
pub fn order_capacity(&self) -> Result<Option<OrderCapacity<'_>>, InvalidValue>
The OrderCapacity (528) field.
Sourcepub fn quote_type(&self) -> Result<Option<QuoteType>, InvalidValue>
pub fn quote_type(&self) -> Result<Option<QuoteType>, InvalidValue>
The QuoteType (537) field.
Sourcepub fn quote_qualifiers(
&self,
) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
pub fn quote_qualifiers( &self, ) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
The instances of the NoQuoteQualifiers (735) group.
Sourcepub fn party_ids(&self) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
pub fn party_ids(&self) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
The instances of the NoPartyIDs (453) group.
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 symbol_sfx(&self) -> Result<Option<&str>, InvalidValue>
pub fn symbol_sfx(&self) -> Result<Option<&str>, InvalidValue>
The SymbolSfx (65) field.
Sourcepub fn security_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn security_id(&self) -> Result<Option<&str>, InvalidValue>
The SecurityID (48) field.
Sourcepub fn security_id_source(
&self,
) -> Result<Option<SecurityIDSource<'_>>, InvalidValue>
pub fn security_id_source( &self, ) -> Result<Option<SecurityIDSource<'_>>, InvalidValue>
The SecurityIDSource (22) field.
Sourcepub fn security_alt_id(
&self,
) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
pub fn security_alt_id( &self, ) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
The instances of the NoSecurityAltID (454) group.
Sourcepub fn security_type(&self) -> Result<Option<SecurityType<'_>>, InvalidValue>
pub fn security_type(&self) -> Result<Option<SecurityType<'_>>, InvalidValue>
The SecurityType (167) field.
Sourcepub fn security_sub_type(&self) -> Result<Option<&str>, InvalidValue>
pub fn security_sub_type(&self) -> Result<Option<&str>, InvalidValue>
The SecuritySubType (762) field.
Sourcepub fn maturity_month_year(&self) -> Result<Option<MonthYear>, InvalidValue>
pub fn maturity_month_year(&self) -> Result<Option<MonthYear>, InvalidValue>
The MaturityMonthYear (200) field.
Sourcepub fn maturity_date(&self) -> Result<Option<Date>, InvalidValue>
pub fn maturity_date(&self) -> Result<Option<Date>, InvalidValue>
The MaturityDate (541) field.
Sourcepub fn put_or_call(&self) -> Result<Option<PutOrCall>, InvalidValue>
pub fn put_or_call(&self) -> Result<Option<PutOrCall>, InvalidValue>
The PutOrCall (201) field.
Sourcepub fn coupon_payment_date(&self) -> Result<Option<Date>, InvalidValue>
pub fn coupon_payment_date(&self) -> Result<Option<Date>, InvalidValue>
The CouponPaymentDate (224) field.
Sourcepub fn issue_date(&self) -> Result<Option<Date>, InvalidValue>
pub fn issue_date(&self) -> Result<Option<Date>, InvalidValue>
The IssueDate (225) field.
Sourcepub fn repo_collateral_security_type(
&self,
) -> Result<Option<&str>, InvalidValue>
pub fn repo_collateral_security_type( &self, ) -> Result<Option<&str>, InvalidValue>
The RepoCollateralSecurityType (239) field.
Sourcepub fn repurchase_term(&self) -> Result<Option<i64>, InvalidValue>
pub fn repurchase_term(&self) -> Result<Option<i64>, InvalidValue>
The RepurchaseTerm (226) field.
Sourcepub fn repurchase_rate(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn repurchase_rate(&self) -> Result<Option<Decimal>, InvalidValue>
The RepurchaseRate (227) field.
Sourcepub fn credit_rating(&self) -> Result<Option<&str>, InvalidValue>
pub fn credit_rating(&self) -> Result<Option<&str>, InvalidValue>
The CreditRating (255) field.
Sourcepub fn instr_registry(&self) -> Result<Option<&str>, InvalidValue>
pub fn instr_registry(&self) -> Result<Option<&str>, InvalidValue>
The InstrRegistry (543) field.
Sourcepub fn country_of_issue(&self) -> Result<Option<&str>, InvalidValue>
pub fn country_of_issue(&self) -> Result<Option<&str>, InvalidValue>
The CountryOfIssue (470) field.
Sourcepub fn state_or_province_of_issue(&self) -> Result<Option<&str>, InvalidValue>
pub fn state_or_province_of_issue(&self) -> Result<Option<&str>, InvalidValue>
The StateOrProvinceOfIssue (471) field.
Sourcepub fn locale_of_issue(&self) -> Result<Option<&str>, InvalidValue>
pub fn locale_of_issue(&self) -> Result<Option<&str>, InvalidValue>
The LocaleOfIssue (472) field.
Sourcepub fn redemption_date(&self) -> Result<Option<Date>, InvalidValue>
pub fn redemption_date(&self) -> Result<Option<Date>, InvalidValue>
The RedemptionDate (240) field.
Sourcepub fn strike_price(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn strike_price(&self) -> Result<Option<Decimal>, InvalidValue>
The StrikePrice (202) field.
Sourcepub fn strike_currency(&self) -> Result<Option<&str>, InvalidValue>
pub fn strike_currency(&self) -> Result<Option<&str>, InvalidValue>
The StrikeCurrency (947) field.
Sourcepub fn opt_attribute(&self) -> Result<Option<&str>, InvalidValue>
pub fn opt_attribute(&self) -> Result<Option<&str>, InvalidValue>
The OptAttribute (206) field.
Sourcepub fn contract_multiplier(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn contract_multiplier(&self) -> Result<Option<Decimal>, InvalidValue>
The ContractMultiplier (231) field.
Sourcepub fn coupon_rate(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn coupon_rate(&self) -> Result<Option<Decimal>, InvalidValue>
The CouponRate (223) field.
Sourcepub fn security_exchange(&self) -> Result<Option<&str>, InvalidValue>
pub fn security_exchange(&self) -> Result<Option<&str>, InvalidValue>
The SecurityExchange (207) field.
Sourcepub fn encoded_issuer_len(&self) -> Result<Option<i64>, InvalidValue>
pub fn encoded_issuer_len(&self) -> Result<Option<i64>, InvalidValue>
The EncodedIssuerLen (348) field.
Sourcepub fn encoded_issuer(&self) -> Option<&[u8]>
pub fn encoded_issuer(&self) -> Option<&[u8]>
The EncodedIssuer (349) field.
Sourcepub fn security_desc(&self) -> Result<Option<&str>, InvalidValue>
pub fn security_desc(&self) -> Result<Option<&str>, InvalidValue>
The SecurityDesc (107) field.
Sourcepub fn encoded_security_desc_len(&self) -> Result<Option<i64>, InvalidValue>
pub fn encoded_security_desc_len(&self) -> Result<Option<i64>, InvalidValue>
The EncodedSecurityDescLen (350) field.
Sourcepub fn encoded_security_desc(&self) -> Option<&[u8]>
pub fn encoded_security_desc(&self) -> Option<&[u8]>
The EncodedSecurityDesc (351) field.
Sourcepub fn contract_settl_month(&self) -> Result<Option<MonthYear>, InvalidValue>
pub fn contract_settl_month(&self) -> Result<Option<MonthYear>, InvalidValue>
The ContractSettlMonth (667) field.
Sourcepub fn cp_program(&self) -> Result<Option<CPProgram>, InvalidValue>
pub fn cp_program(&self) -> Result<Option<CPProgram>, InvalidValue>
The CPProgram (875) field.
Sourcepub fn cp_reg_type(&self) -> Result<Option<&str>, InvalidValue>
pub fn cp_reg_type(&self) -> Result<Option<&str>, InvalidValue>
The CPRegType (876) field.
Sourcepub fn events(&self) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
pub fn events(&self) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
The instances of the NoEvents (864) group.
Sourcepub fn dated_date(&self) -> Result<Option<Date>, InvalidValue>
pub fn dated_date(&self) -> Result<Option<Date>, InvalidValue>
The DatedDate (873) field.
Sourcepub fn interest_accrual_date(&self) -> Result<Option<Date>, InvalidValue>
pub fn interest_accrual_date(&self) -> Result<Option<Date>, InvalidValue>
The InterestAccrualDate (874) field.
Sourcepub fn agreement_desc(&self) -> Result<Option<&str>, InvalidValue>
pub fn agreement_desc(&self) -> Result<Option<&str>, InvalidValue>
The AgreementDesc (913) field.
Sourcepub fn agreement_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn agreement_id(&self) -> Result<Option<&str>, InvalidValue>
The AgreementID (914) field.
Sourcepub fn agreement_date(&self) -> Result<Option<Date>, InvalidValue>
pub fn agreement_date(&self) -> Result<Option<Date>, InvalidValue>
The AgreementDate (915) field.
Sourcepub fn agreement_currency(&self) -> Result<Option<&str>, InvalidValue>
pub fn agreement_currency(&self) -> Result<Option<&str>, InvalidValue>
The AgreementCurrency (918) field.
Sourcepub fn termination_type(&self) -> Result<Option<TerminationType>, InvalidValue>
pub fn termination_type(&self) -> Result<Option<TerminationType>, InvalidValue>
The TerminationType (788) field.
Sourcepub fn start_date(&self) -> Result<Option<Date>, InvalidValue>
pub fn start_date(&self) -> Result<Option<Date>, InvalidValue>
The StartDate (916) field.
Sourcepub fn delivery_type(&self) -> Result<Option<DeliveryType>, InvalidValue>
pub fn delivery_type(&self) -> Result<Option<DeliveryType>, InvalidValue>
The DeliveryType (919) field.
Sourcepub fn margin_ratio(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn margin_ratio(&self) -> Result<Option<Decimal>, InvalidValue>
The MarginRatio (898) field.
Sourcepub fn underlyings(&self) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
pub fn underlyings(&self) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
The instances of the NoUnderlyings (711) group.
Sourcepub fn cash_order_qty(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn cash_order_qty(&self) -> Result<Option<Decimal>, InvalidValue>
The CashOrderQty (152) field.
Sourcepub fn order_percent(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn order_percent(&self) -> Result<Option<Decimal>, InvalidValue>
The OrderPercent (516) field.
Sourcepub fn rounding_direction(
&self,
) -> Result<Option<RoundingDirection<'_>>, InvalidValue>
pub fn rounding_direction( &self, ) -> Result<Option<RoundingDirection<'_>>, InvalidValue>
The RoundingDirection (468) field.
Sourcepub fn rounding_modulus(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn rounding_modulus(&self) -> Result<Option<Decimal>, InvalidValue>
The RoundingModulus (469) 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_date2(&self) -> Result<Option<Date>, InvalidValue>
pub fn settl_date2(&self) -> Result<Option<Date>, InvalidValue>
The SettlDate2 (193) field.
Sourcepub fn order_qty2(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn order_qty2(&self) -> Result<Option<Decimal>, InvalidValue>
The OrderQty2 (192) field.
Sourcepub fn stipulations(&self) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
pub fn stipulations(&self) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
The instances of the NoStipulations (232) group.
Sourcepub fn acct_id_source(&self) -> Result<Option<AcctIDSource>, InvalidValue>
pub fn acct_id_source(&self) -> Result<Option<AcctIDSource>, InvalidValue>
The AcctIDSource (660) field.
Sourcepub fn account_type(&self) -> Result<Option<AccountType>, InvalidValue>
pub fn account_type(&self) -> Result<Option<AccountType>, InvalidValue>
The AccountType (581) field.
Sourcepub fn legs(&self) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
pub fn legs(&self) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
The instances of the NoLegs (555) group.
Sourcepub fn mkt_bid_px(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn mkt_bid_px(&self) -> Result<Option<Decimal>, InvalidValue>
The MktBidPx (645) field.
Sourcepub fn mkt_offer_px(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn mkt_offer_px(&self) -> Result<Option<Decimal>, InvalidValue>
The MktOfferPx (646) field.
Sourcepub fn min_bid_size(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn min_bid_size(&self) -> Result<Option<Decimal>, InvalidValue>
The MinBidSize (647) field.
Sourcepub fn min_offer_size(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn min_offer_size(&self) -> Result<Option<Decimal>, InvalidValue>
The MinOfferSize (648) field.
Sourcepub fn offer_size(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn offer_size(&self) -> Result<Option<Decimal>, InvalidValue>
The OfferSize (135) field.
Sourcepub fn valid_until_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
pub fn valid_until_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
The ValidUntilTime (62) field.
Sourcepub fn bid_spot_rate(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn bid_spot_rate(&self) -> Result<Option<Decimal>, InvalidValue>
The BidSpotRate (188) field.
Sourcepub fn offer_spot_rate(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn offer_spot_rate(&self) -> Result<Option<Decimal>, InvalidValue>
The OfferSpotRate (190) field.
Sourcepub fn bid_forward_points(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn bid_forward_points(&self) -> Result<Option<Decimal>, InvalidValue>
The BidForwardPoints (189) field.
Sourcepub fn offer_forward_points(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn offer_forward_points(&self) -> Result<Option<Decimal>, InvalidValue>
The OfferForwardPoints (191) field.
Sourcepub fn offer_yield(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn offer_yield(&self) -> Result<Option<Decimal>, InvalidValue>
The OfferYield (634) 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 bid_forward_points2(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn bid_forward_points2(&self) -> Result<Option<Decimal>, InvalidValue>
The BidForwardPoints2 (642) field.
Sourcepub fn offer_forward_points2(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn offer_forward_points2(&self) -> Result<Option<Decimal>, InvalidValue>
The OfferForwardPoints2 (643) field.
Sourcepub fn settl_curr_bid_fx_rate(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn settl_curr_bid_fx_rate(&self) -> Result<Option<Decimal>, InvalidValue>
The SettlCurrBidFxRate (656) field.
Sourcepub fn settl_curr_offer_fx_rate(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn settl_curr_offer_fx_rate(&self) -> Result<Option<Decimal>, InvalidValue>
The SettlCurrOfferFxRate (657) 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 commission(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn commission(&self) -> Result<Option<Decimal>, InvalidValue>
The Commission (12) field.
Sourcepub fn cust_order_capacity(
&self,
) -> Result<Option<CustOrderCapacity>, InvalidValue>
pub fn cust_order_capacity( &self, ) -> Result<Option<CustOrderCapacity>, InvalidValue>
The CustOrderCapacity (582) field.
Sourcepub fn ex_destination(&self) -> Result<Option<&str>, InvalidValue>
pub fn ex_destination(&self) -> Result<Option<&str>, InvalidValue>
The ExDestination (100) 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 price_type(&self) -> Result<Option<PriceType>, InvalidValue>
pub fn price_type(&self) -> Result<Option<PriceType>, InvalidValue>
The PriceType (423) field.
Sourcepub fn benchmark_curve_currency(&self) -> Result<Option<&str>, InvalidValue>
pub fn benchmark_curve_currency(&self) -> Result<Option<&str>, InvalidValue>
The BenchmarkCurveCurrency (220) field.
Sourcepub fn benchmark_curve_name(&self) -> Result<Option<&str>, InvalidValue>
pub fn benchmark_curve_name(&self) -> Result<Option<&str>, InvalidValue>
The BenchmarkCurveName (221) field.
Sourcepub fn benchmark_curve_point(&self) -> Result<Option<&str>, InvalidValue>
pub fn benchmark_curve_point(&self) -> Result<Option<&str>, InvalidValue>
The BenchmarkCurvePoint (222) field.
Sourcepub fn benchmark_price(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn benchmark_price(&self) -> Result<Option<Decimal>, InvalidValue>
The BenchmarkPrice (662) field.
Sourcepub fn benchmark_price_type(&self) -> Result<Option<i64>, InvalidValue>
pub fn benchmark_price_type(&self) -> Result<Option<i64>, InvalidValue>
The BenchmarkPriceType (663) field.
Sourcepub fn benchmark_security_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn benchmark_security_id(&self) -> Result<Option<&str>, InvalidValue>
The BenchmarkSecurityID (699) field.
Sourcepub fn benchmark_security_id_source(&self) -> Result<Option<&str>, InvalidValue>
pub fn benchmark_security_id_source(&self) -> Result<Option<&str>, InvalidValue>
The BenchmarkSecurityIDSource (761) field.
Sourcepub fn yield_type(&self) -> Result<Option<YieldType<'_>>, InvalidValue>
pub fn yield_type(&self) -> Result<Option<YieldType<'_>>, InvalidValue>
The YieldType (235) field.
Sourcepub fn yield_calc_date(&self) -> Result<Option<Date>, InvalidValue>
pub fn yield_calc_date(&self) -> Result<Option<Date>, InvalidValue>
The YieldCalcDate (701) field.
Sourcepub fn yield_redemption_date(&self) -> Result<Option<Date>, InvalidValue>
pub fn yield_redemption_date(&self) -> Result<Option<Date>, InvalidValue>
The YieldRedemptionDate (696) field.
Sourcepub fn yield_redemption_price(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn yield_redemption_price(&self) -> Result<Option<Decimal>, InvalidValue>
The YieldRedemptionPrice (697) field.
Sourcepub fn yield_redemption_price_type(&self) -> Result<Option<i64>, InvalidValue>
pub fn yield_redemption_price_type(&self) -> Result<Option<i64>, InvalidValue>
The YieldRedemptionPriceType (698) field.