pub struct NewOrderCross(/* private fields */);Expand description
The NewOrderCross (35=s) message.
Implementations§
Source§impl NewOrderCross
impl NewOrderCross
pub const MSG_TYPE: &[u8] = b"s"
pub fn from_raw(raw: RawMessage) -> Self
pub fn raw(&self) -> &RawMessage
pub fn header(&self) -> Header<'_>
pub fn trailer(&self) -> Trailer<'_>
Sourcepub fn cross_type(&self) -> Result<Option<CrossType>, InvalidValue>
pub fn cross_type(&self) -> Result<Option<CrossType>, InvalidValue>
The CrossType (549) field.
Sourcepub fn cross_prioritization(
&self,
) -> Result<Option<CrossPrioritization>, InvalidValue>
pub fn cross_prioritization( &self, ) -> Result<Option<CrossPrioritization>, InvalidValue>
The CrossPrioritization (550) field.
Sourcepub fn sides(
&self,
) -> Result<Instances<'_, SideCrossOrdModGrp<'_>>, InvalidValue>
pub fn sides( &self, ) -> Result<Instances<'_, SideCrossOrdModGrp<'_>>, InvalidValue>
The instances of the NoSides (552) group.
Sourcepub fn instrument(&self) -> Instrument<'_>
pub fn instrument(&self) -> Instrument<'_>
The Instrument 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 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 handl_inst(&self) -> Result<Option<HandlInst<'_>>, InvalidValue>
pub fn handl_inst(&self) -> Result<Option<HandlInst<'_>>, InvalidValue>
The HandlInst (21) field.
Sourcepub fn exec_inst(
&self,
) -> Result<Option<MultipleValues<'_, ExecInst<'_>>>, InvalidValue>
pub fn exec_inst( &self, ) -> Result<Option<MultipleValues<'_, ExecInst<'_>>>, InvalidValue>
The ExecInst (18) 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 trading_sessions(
&self,
) -> Result<Instances<'_, TrdgSesGrp<'_>>, InvalidValue>
pub fn trading_sessions( &self, ) -> Result<Instances<'_, TrdgSesGrp<'_>>, InvalidValue>
The instances of the NoTradingSessions (386) group.
Sourcepub fn process_code(&self) -> Result<Option<ProcessCode<'_>>, InvalidValue>
pub fn process_code(&self) -> Result<Option<ProcessCode<'_>>, InvalidValue>
The ProcessCode (81) field.
Sourcepub fn prev_close_px(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn prev_close_px(&self) -> Result<Option<Decimal>, InvalidValue>
The PrevClosePx (140) field.
Sourcepub fn locate_reqd(&self) -> Result<Option<bool>, InvalidValue>
pub fn locate_reqd(&self) -> Result<Option<bool>, InvalidValue>
The LocateReqd (114) 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 stipulations(
&self,
) -> Result<Instances<'_, Stipulations<'_>>, InvalidValue>
pub fn stipulations( &self, ) -> Result<Instances<'_, Stipulations<'_>>, InvalidValue>
The instances of the NoStipulations (232) group.
Sourcepub fn price_type(&self) -> Result<Option<PriceType>, InvalidValue>
pub fn price_type(&self) -> Result<Option<PriceType>, InvalidValue>
The PriceType (423) field.
Sourcepub fn spread_or_benchmark_curve_data(&self) -> SpreadOrBenchmarkCurveData<'_>
pub fn spread_or_benchmark_curve_data(&self) -> SpreadOrBenchmarkCurveData<'_>
The SpreadOrBenchmarkCurveData component.
Sourcepub fn yield_data(&self) -> YieldData<'_>
pub fn yield_data(&self) -> YieldData<'_>
The YieldData component.
Sourcepub fn compliance_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn compliance_id(&self) -> Result<Option<&str>, InvalidValue>
The ComplianceID (376) field.
Sourcepub fn time_in_force(&self) -> Result<Option<TimeInForce<'_>>, InvalidValue>
pub fn time_in_force(&self) -> Result<Option<TimeInForce<'_>>, InvalidValue>
The TimeInForce (59) field.
Sourcepub fn effective_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
pub fn effective_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
The EffectiveTime (168) field.
Sourcepub fn expire_date(&self) -> Result<Option<Date>, InvalidValue>
pub fn expire_date(&self) -> Result<Option<Date>, InvalidValue>
The ExpireDate (432) field.
Sourcepub fn expire_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
pub fn expire_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
The ExpireTime (126) field.
Sourcepub fn gt_booking_inst(&self) -> Result<Option<GTBookingInst>, InvalidValue>
pub fn gt_booking_inst(&self) -> Result<Option<GTBookingInst>, InvalidValue>
The GTBookingInst (427) field.
Sourcepub fn peg_instructions(&self) -> PegInstructions<'_>
pub fn peg_instructions(&self) -> PegInstructions<'_>
The PegInstructions component.
Sourcepub fn discretion_instructions(&self) -> DiscretionInstructions<'_>
pub fn discretion_instructions(&self) -> DiscretionInstructions<'_>
The DiscretionInstructions component.
Sourcepub fn target_strategy(&self) -> Result<Option<TargetStrategy>, InvalidValue>
pub fn target_strategy(&self) -> Result<Option<TargetStrategy>, InvalidValue>
The TargetStrategy (847) field.
Sourcepub fn target_strategy_parameters(&self) -> Result<Option<&str>, InvalidValue>
pub fn target_strategy_parameters(&self) -> Result<Option<&str>, InvalidValue>
The TargetStrategyParameters (848) field.
Sourcepub fn participation_rate(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn participation_rate(&self) -> Result<Option<Decimal>, InvalidValue>
The ParticipationRate (849) field.
Sourcepub fn cancellation_rights(
&self,
) -> Result<Option<CancellationRights<'_>>, InvalidValue>
pub fn cancellation_rights( &self, ) -> Result<Option<CancellationRights<'_>>, InvalidValue>
The CancellationRights (480) field.
Sourcepub fn money_laundering_status(
&self,
) -> Result<Option<MoneyLaunderingStatus<'_>>, InvalidValue>
pub fn money_laundering_status( &self, ) -> Result<Option<MoneyLaunderingStatus<'_>>, InvalidValue>
The MoneyLaunderingStatus (481) field.
Sourcepub fn designation(&self) -> Result<Option<&str>, InvalidValue>
pub fn designation(&self) -> Result<Option<&str>, InvalidValue>
The Designation (494) field.