Skip to main content

NewOrderList

Struct NewOrderList 

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

The NewOrderList (35=E) message.

Implementations§

Source§

impl NewOrderList

Source

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

Source

pub const KNOWN_TAGS: KnownTags<'static>

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

The ListID (66) field.

Source

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

The BidID (390) field.

Source

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

The ClientBidID (391) field.

Source

pub fn prog_rpt_reqs(&self) -> Result<Option<ProgRptReqs>, InvalidValue>

The ProgRptReqs (414) field.

Source

pub fn bid_type(&self) -> Result<Option<BidType>, InvalidValue>

The BidType (394) field.

Source

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

The ProgPeriodInterval (415) 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 list_exec_inst_type( &self, ) -> Result<Option<ListExecInstType<'_>>, InvalidValue>

The ListExecInstType (433) field.

Source

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

The ListExecInst (69) field.

Source

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

The EncodedListExecInstLen (352) field.

Source

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

The EncodedListExecInst (353) field.

Source

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

The AllowableOneSidednessPct (765) field.

Source

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

The AllowableOneSidednessValue (766) field.

Source

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

The AllowableOneSidednessCurr (767) field.

Source

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

The TotNoOrders (68) field.

Source

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

The LastFragment (893) field.

Source

pub fn orders(&self) -> Result<Instances<'_, Instance<'_>>, InvalidValue>

The instances of the NoOrders (73) group.

Trait Implementations§

Source§

impl Debug for NewOrderList

Source§

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

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

impl Display for NewOrderList

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

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.