Skip to main content

NewOrderMultileg

Struct NewOrderMultileg 

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

The NewOrderMultileg (35=AB) message.

Implementations§

Source§

impl NewOrderMultileg

Source

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

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 cl_ord_id(&self) -> Result<Option<&str>, InvalidValue>

The ClOrdID (11) field.

Source

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

The SecondaryClOrdID (526) field.

The ClOrdLinkID (583) field.

Source

pub fn party_ids(&self) -> Result<Instances<'_, Parties<'_>>, InvalidValue>

The instances of the NoPartyIDs (453) group.

Source

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

The TradeOriginationDate (229) field.

Source

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

The TradeDate (75) field.

Source

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

The Account (1) field.

Source

pub fn acct_id_source(&self) -> Result<Option<AcctIDSource>, InvalidValue>

The AcctIDSource (660) field.

Source

pub fn account_type(&self) -> Result<Option<AccountType>, InvalidValue>

The AccountType (581) field.

Source

pub fn day_booking_inst( &self, ) -> Result<Option<DayBookingInst<'_>>, InvalidValue>

The DayBookingInst (589) field.

Source

pub fn booking_unit(&self) -> Result<Option<BookingUnit<'_>>, InvalidValue>

The BookingUnit (590) field.

Source

pub fn prealloc_method( &self, ) -> Result<Option<PreallocMethod<'_>>, InvalidValue>

The PreallocMethod (591) field.

Source

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

The AllocID (70) field.

Source

pub fn allocs(&self) -> Result<Instances<'_, PreAllocMlegGrp<'_>>, InvalidValue>

The instances of the NoAllocs (78) 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 cash_margin(&self) -> Result<Option<CashMargin<'_>>, InvalidValue>

The CashMargin (544) field.

Source

pub fn clearing_fee_indicator( &self, ) -> Result<Option<ClearingFeeIndicator<'_>>, InvalidValue>

The ClearingFeeIndicator (635) 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 side(&self) -> Result<Option<Side<'_>>, InvalidValue>

The Side (54) field.

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 prev_close_px(&self) -> Result<Option<Decimal>, InvalidValue>

The PrevClosePx (140) field.

Source

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

The instances of the NoLegs (555) group.

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 qty_type(&self) -> Result<Option<QtyType>, InvalidValue>

The QtyType (854) field.

Source

pub fn order_qty_data(&self) -> OrderQtyData<'_>

The OrderQtyData component.

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 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 solicited_flag(&self) -> Result<Option<bool>, InvalidValue>

The SolicitedFlag (377) 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 commission_data(&self) -> CommissionData<'_>

The CommissionData component.

Source

pub fn order_capacity(&self) -> Result<Option<OrderCapacity<'_>>, InvalidValue>

The OrderCapacity (528) field.

Source

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

The OrderRestrictions (529) field.

Source

pub fn cust_order_capacity( &self, ) -> Result<Option<CustOrderCapacity>, InvalidValue>

The CustOrderCapacity (582) field.

Source

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

The ForexReq (121) field.

Source

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

The SettlCurrency (120) field.

Source

pub fn booking_type(&self) -> Result<Option<BookingType>, InvalidValue>

The BookingType (775) field.

Source

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

The Text (58) field.

Source

pub fn encoded_text_len(&self) -> Result<Option<i64>, InvalidValue>

The EncodedTextLen (354) field.

Source

pub fn encoded_text(&self) -> Option<&[u8]>

The EncodedText (355) field.

Source

pub fn position_effect( &self, ) -> Result<Option<PositionEffect<'_>>, InvalidValue>

The PositionEffect (77) field.

Source

pub fn covered_or_uncovered( &self, ) -> Result<Option<CoveredOrUncovered>, InvalidValue>

The CoveredOrUncovered (203) 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.

Source

pub fn multi_leg_rpt_type_req( &self, ) -> Result<Option<MultiLegRptTypeReq>, InvalidValue>

The MultiLegRptTypeReq (563) field.

Trait Implementations§

Source§

impl Debug for NewOrderMultileg

Source§

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

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

impl Display for NewOrderMultileg

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl !Freeze for NewOrderMultileg

§

impl Forget for NewOrderMultileg

§

impl Move for NewOrderMultileg

§

impl RefUnwindSafe for NewOrderMultileg

§

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

§

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

§

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

§

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

§

impl UnwindSafe for NewOrderMultileg
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.