Skip to main content

OrderStatusRequest

Struct OrderStatusRequest 

Source
pub struct OrderStatusRequest {
    pub message: Message,
}
Expand description

OrderStatusRequest is the fix40 OrderStatusRequest type, MsgType = H.

Fields§

§message: Message

Implementations§

Source§

impl OrderStatusRequest

Source

pub fn new( cl_ord_id: ClOrdIDField, symbol: SymbolField, side: SideField, ) -> Self

Creates a new OrderStatusRequest with required fields.

Source

pub fn from_message(msg: Message) -> Self

Creates a OrderStatusRequest from an existing Message.

Source

pub fn to_message(self) -> Message

Returns the underlying Message.

Source

pub fn set_cl_ord_id(&mut self, v: String)

Sets ClOrdID, Tag 11.

Source

pub fn get_cl_ord_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets ClOrdID, Tag 11.

Source

pub fn has_cl_ord_id(&self) -> bool

Returns true if ClOrdID is present, Tag 11.

Source

pub fn set_client_id(&mut self, v: String)

Sets ClientID, Tag 109.

Source

pub fn get_client_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets ClientID, Tag 109.

Source

pub fn has_client_id(&self) -> bool

Returns true if ClientID is present, Tag 109.

Source

pub fn set_exec_broker(&mut self, v: String)

Sets ExecBroker, Tag 76.

Source

pub fn get_exec_broker(&self) -> Result<String, MessageRejectErrorEnum>

Gets ExecBroker, Tag 76.

Source

pub fn has_exec_broker(&self) -> bool

Returns true if ExecBroker is present, Tag 76.

Source

pub fn set_issuer(&mut self, v: String)

Sets Issuer, Tag 106.

Source

pub fn get_issuer(&self) -> Result<String, MessageRejectErrorEnum>

Gets Issuer, Tag 106.

Source

pub fn has_issuer(&self) -> bool

Returns true if Issuer is present, Tag 106.

Source

pub fn set_order_id(&mut self, v: String)

Sets OrderID, Tag 37.

Source

pub fn get_order_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets OrderID, Tag 37.

Source

pub fn has_order_id(&self) -> bool

Returns true if OrderID is present, Tag 37.

Source

pub fn set_security_desc(&mut self, v: String)

Sets SecurityDesc, Tag 107.

Source

pub fn get_security_desc(&self) -> Result<String, MessageRejectErrorEnum>

Gets SecurityDesc, Tag 107.

Source

pub fn has_security_desc(&self) -> bool

Returns true if SecurityDesc is present, Tag 107.

Source

pub fn set_side(&mut self, v: String)

Sets Side, Tag 54.

Source

pub fn get_side(&self) -> Result<String, MessageRejectErrorEnum>

Gets Side, Tag 54.

Source

pub fn has_side(&self) -> bool

Returns true if Side is present, Tag 54.

Source

pub fn set_symbol(&mut self, v: String)

Sets Symbol, Tag 55.

Source

pub fn get_symbol(&self) -> Result<String, MessageRejectErrorEnum>

Gets Symbol, Tag 55.

Source

pub fn has_symbol(&self) -> bool

Returns true if Symbol is present, Tag 55.

Source

pub fn set_symbol_sfx(&mut self, v: String)

Sets SymbolSfx, Tag 65.

Source

pub fn get_symbol_sfx(&self) -> Result<String, MessageRejectErrorEnum>

Gets SymbolSfx, Tag 65.

Source

pub fn has_symbol_sfx(&self) -> bool

Returns true if SymbolSfx is present, Tag 65.

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, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.