Skip to main content

NewOrderCross

Struct NewOrderCross 

Source
pub struct NewOrderCross(/* private fields */);
Expand description

The NewOrderCross (35=s) message.

Implementations§

Source§

impl NewOrderCross

Source

pub const MSG_TYPE: &[u8] = b"s"

Source

pub fn from_raw(raw: RawMessage) -> Self

Source

pub fn raw(&self) -> &RawMessage

Source

pub fn header(&self) -> Header<'_>

Source

pub fn trailer(&self) -> Trailer<'_>

Source

pub fn cross_id(&self) -> Result<Option<&str>, InvalidValue>

The CrossID (548) field.

Source

pub fn cross_type(&self) -> Result<Option<CrossType>, InvalidValue>

The CrossType (549) field.

Source

pub fn cross_prioritization( &self, ) -> Result<Option<CrossPrioritization>, InvalidValue>

The CrossPrioritization (550) field.

Source

pub fn sides( &self, ) -> Result<Instances<'_, SideCrossOrdModGrp<'_>>, InvalidValue>

The instances of the NoSides (552) group.

Source

pub fn instrument(&self) -> Instrument<'_>

The Instrument component.

Source

pub fn underlyings( &self, ) -> Result<Instances<'_, UndInstrmtGrp<'_>>, InvalidValue>

The instances of the NoUnderlyings (711) group.

Source

pub fn legs(&self) -> Result<Instances<'_, InstrmtLegGrp<'_>>, InvalidValue>

The instances of the NoLegs (555) group.

Source

pub fn settl_type(&self) -> Result<Option<SettlType<'_>>, InvalidValue>

The SettlType (63) field.

Source

pub fn settl_date(&self) -> Result<Option<Date>, InvalidValue>

The SettlDate (64) field.

Source

pub fn handl_inst(&self) -> Result<Option<HandlInst<'_>>, InvalidValue>

The HandlInst (21) field.

Source

pub fn exec_inst( &self, ) -> Result<Option<MultipleValues<'_, ExecInst<'_>>>, InvalidValue>

The ExecInst (18) field.

Source

pub fn min_qty(&self) -> Result<Option<Decimal>, InvalidValue>

The MinQty (110) field.

Source

pub fn max_floor(&self) -> Result<Option<Decimal>, InvalidValue>

The MaxFloor (111) field.

Source

pub fn ex_destination(&self) -> Result<Option<&str>, InvalidValue>

The ExDestination (100) field.

Source

pub fn trading_sessions( &self, ) -> Result<Instances<'_, TrdgSesGrp<'_>>, InvalidValue>

The instances of the NoTradingSessions (386) group.

Source

pub fn process_code(&self) -> Result<Option<ProcessCode<'_>>, InvalidValue>

The ProcessCode (81) field.

Source

pub fn prev_close_px(&self) -> Result<Option<Decimal>, InvalidValue>

The PrevClosePx (140) field.

Source

pub fn locate_reqd(&self) -> Result<Option<bool>, InvalidValue>

The LocateReqd (114) field.

Source

pub fn transact_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>

The TransactTime (60) field.

Source

pub fn stipulations( &self, ) -> Result<Instances<'_, Stipulations<'_>>, InvalidValue>

The instances of the NoStipulations (232) group.

Source

pub fn ord_type(&self) -> Result<Option<OrdType<'_>>, InvalidValue>

The OrdType (40) field.

Source

pub fn price_type(&self) -> Result<Option<PriceType>, InvalidValue>

The PriceType (423) field.

Source

pub fn price(&self) -> Result<Option<Decimal>, InvalidValue>

The Price (44) field.

Source

pub fn stop_px(&self) -> Result<Option<Decimal>, InvalidValue>

The StopPx (99) field.

Source

pub fn spread_or_benchmark_curve_data(&self) -> SpreadOrBenchmarkCurveData<'_>

The SpreadOrBenchmarkCurveData component.

Source

pub fn yield_data(&self) -> YieldData<'_>

The YieldData component.

Source

pub fn currency(&self) -> Result<Option<&str>, InvalidValue>

The Currency (15) field.

Source

pub fn compliance_id(&self) -> Result<Option<&str>, InvalidValue>

The ComplianceID (376) field.

Source

pub fn ioiid(&self) -> Result<Option<&str>, InvalidValue>

The IOIID (23) field.

Source

pub fn quote_id(&self) -> Result<Option<&str>, InvalidValue>

The QuoteID (117) field.

Source

pub fn time_in_force(&self) -> Result<Option<TimeInForce<'_>>, InvalidValue>

The TimeInForce (59) field.

Source

pub fn effective_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>

The EffectiveTime (168) field.

Source

pub fn expire_date(&self) -> Result<Option<Date>, InvalidValue>

The ExpireDate (432) field.

Source

pub fn expire_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>

The ExpireTime (126) field.

Source

pub fn gt_booking_inst(&self) -> Result<Option<GTBookingInst>, InvalidValue>

The GTBookingInst (427) field.

Source

pub fn max_show(&self) -> Result<Option<Decimal>, InvalidValue>

The MaxShow (210) field.

Source

pub fn peg_instructions(&self) -> PegInstructions<'_>

The PegInstructions component.

Source

pub fn discretion_instructions(&self) -> DiscretionInstructions<'_>

The DiscretionInstructions component.

Source

pub fn target_strategy(&self) -> Result<Option<TargetStrategy>, InvalidValue>

The TargetStrategy (847) field.

Source

pub fn target_strategy_parameters(&self) -> Result<Option<&str>, InvalidValue>

The TargetStrategyParameters (848) field.

Source

pub fn participation_rate(&self) -> Result<Option<Decimal>, InvalidValue>

The ParticipationRate (849) field.

Source

pub fn cancellation_rights( &self, ) -> Result<Option<CancellationRights<'_>>, InvalidValue>

The CancellationRights (480) field.

Source

pub fn money_laundering_status( &self, ) -> Result<Option<MoneyLaunderingStatus<'_>>, InvalidValue>

The MoneyLaunderingStatus (481) field.

Source

pub fn regist_id(&self) -> Result<Option<&str>, InvalidValue>

The RegistID (513) field.

Source

pub fn designation(&self) -> Result<Option<&str>, InvalidValue>

The Designation (494) field.

Trait Implementations§

Source§

impl Debug for NewOrderCross

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Display for NewOrderCross

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl !Freeze for NewOrderCross

§

impl Forget for NewOrderCross

§

impl Move for NewOrderCross

§

impl RefUnwindSafe for NewOrderCross

§

impl Send for NewOrderCross
where Bytes: Send, RawVecInner: Send,

§

impl Sync for NewOrderCross
where Bytes: Sync, RawVecInner: Sync,

§

impl Unpin for NewOrderCross
where *const u8: Unpin, Align8<*mut ()>: Unpin, &'static Vtable: Unpin, *const u8 is !null: Unpin,

§

impl UnsafeUnpin for NewOrderCross
where *const u8: UnsafeUnpin, Align8<*mut ()>: UnsafeUnpin, &'static Vtable: UnsafeUnpin, *const u8 is !null: UnsafeUnpin, PhantomData<RawField>: UnsafeUnpin,

§

impl UnwindSafe for NewOrderCross
where *const u8: UnwindSafe, Align8<*mut ()>: UnwindSafe, &'static Vtable: UnwindSafe, RawVecInner: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.