pub struct BidRequest(/* private fields */);Expand description
The BidRequest (35=k) message.
Implementations§
Source§impl BidRequest
impl BidRequest
pub const MSG_TYPE: &[u8] = b"k"
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 client_bid_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn client_bid_id(&self) -> Result<Option<&str>, InvalidValue>
The ClientBidID (391) field.
Sourcepub fn bid_request_trans_type(
&self,
) -> Result<Option<BidRequestTransType<'_>>, InvalidValue>
pub fn bid_request_trans_type( &self, ) -> Result<Option<BidRequestTransType<'_>>, InvalidValue>
The BidRequestTransType (374) field.
Sourcepub fn total_num_securities(&self) -> Result<Option<i64>, InvalidValue>
pub fn total_num_securities(&self) -> Result<Option<i64>, InvalidValue>
The TotalNumSecurities (393) field.
Sourcepub fn num_tickets(&self) -> Result<Option<i64>, InvalidValue>
pub fn num_tickets(&self) -> Result<Option<i64>, InvalidValue>
The NumTickets (395) field.
Sourcepub fn side_value1(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn side_value1(&self) -> Result<Option<Decimal>, InvalidValue>
The SideValue1 (396) field.
Sourcepub fn side_value2(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn side_value2(&self) -> Result<Option<Decimal>, InvalidValue>
The SideValue2 (397) field.
Sourcepub fn bid_descriptors(
&self,
) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
pub fn bid_descriptors( &self, ) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
The instances of the NoBidDescriptors (398) group.
Sourcepub fn bid_components(
&self,
) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
pub fn bid_components( &self, ) -> Result<Instances<'_, Instance<'_>>, InvalidValue>
The instances of the NoBidComponents (420) group.
Sourcepub fn liquidity_ind_type(
&self,
) -> Result<Option<LiquidityIndType>, InvalidValue>
pub fn liquidity_ind_type( &self, ) -> Result<Option<LiquidityIndType>, InvalidValue>
The LiquidityIndType (409) field.
Sourcepub fn wt_average_liquidity(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn wt_average_liquidity(&self) -> Result<Option<Decimal>, InvalidValue>
The WtAverageLiquidity (410) field.
Sourcepub fn exchange_for_physical(&self) -> Result<Option<bool>, InvalidValue>
pub fn exchange_for_physical(&self) -> Result<Option<bool>, InvalidValue>
The ExchangeForPhysical (411) field.
Sourcepub fn out_main_cntry_u_index(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn out_main_cntry_u_index(&self) -> Result<Option<Decimal>, InvalidValue>
The OutMainCntryUIndex (412) field.
Sourcepub fn cross_percent(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn cross_percent(&self) -> Result<Option<Decimal>, InvalidValue>
The CrossPercent (413) field.
Sourcepub fn prog_rpt_reqs(&self) -> Result<Option<ProgRptReqs>, InvalidValue>
pub fn prog_rpt_reqs(&self) -> Result<Option<ProgRptReqs>, InvalidValue>
The ProgRptReqs (414) field.
Sourcepub fn prog_period_interval(&self) -> Result<Option<i64>, InvalidValue>
pub fn prog_period_interval(&self) -> Result<Option<i64>, InvalidValue>
The ProgPeriodInterval (415) field.
Sourcepub fn inc_tax_ind(&self) -> Result<Option<IncTaxInd>, InvalidValue>
pub fn inc_tax_ind(&self) -> Result<Option<IncTaxInd>, InvalidValue>
The IncTaxInd (416) field.
Sourcepub fn num_bidders(&self) -> Result<Option<i64>, InvalidValue>
pub fn num_bidders(&self) -> Result<Option<i64>, InvalidValue>
The NumBidders (417) 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 trade_type(&self) -> Result<Option<TradeType<'_>>, InvalidValue>
pub fn trade_type(&self) -> Result<Option<TradeType<'_>>, InvalidValue>
The TradeType (418) field.
Sourcepub fn basis_px_type(&self) -> Result<Option<BasisPxType<'_>>, InvalidValue>
pub fn basis_px_type(&self) -> Result<Option<BasisPxType<'_>>, InvalidValue>
The BasisPxType (419) field.
Sourcepub fn strike_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
pub fn strike_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
The StrikeTime (443) 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.