Skip to main content

ListStatus

Struct ListStatus 

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

ListStatus is the fix42 ListStatus type, MsgType = N.

Fields§

§message: Message

Implementations§

Source§

impl ListStatus

Source

pub fn new( list_id: ListIDField, list_status_type: ListStatusTypeField, no_rpts: NoRptsField, list_order_status: ListOrderStatusField, rpt_seq: RptSeqField, tot_no_orders: TotNoOrdersField, no_orders: NoOrdersField, ) -> Self

Creates a new ListStatus with required fields.

Source

pub fn from_message(msg: Message) -> Self

Creates a ListStatus from an existing Message.

Source

pub fn to_message(self) -> Message

Returns the underlying Message.

Source

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

Sets EncodedListStatusText, Tag 446.

Source

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

Gets EncodedListStatusText, Tag 446.

Source

pub fn has_encoded_list_status_text(&self) -> bool

Returns true if EncodedListStatusText is present, Tag 446.

Source

pub fn set_encoded_list_status_text_len(&mut self, v: isize)

Sets EncodedListStatusTextLen, Tag 445.

Source

pub fn get_encoded_list_status_text_len( &self, ) -> Result<isize, MessageRejectErrorEnum>

Gets EncodedListStatusTextLen, Tag 445.

Source

pub fn has_encoded_list_status_text_len(&self) -> bool

Returns true if EncodedListStatusTextLen is present, Tag 445.

Source

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

Sets ListID, Tag 66.

Source

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

Gets ListID, Tag 66.

Source

pub fn has_list_id(&self) -> bool

Returns true if ListID is present, Tag 66.

Source

pub fn set_list_order_status(&mut self, v: isize)

Sets ListOrderStatus, Tag 431.

Source

pub fn get_list_order_status(&self) -> Result<isize, MessageRejectErrorEnum>

Gets ListOrderStatus, Tag 431.

Source

pub fn has_list_order_status(&self) -> bool

Returns true if ListOrderStatus is present, Tag 431.

Source

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

Sets ListStatusText, Tag 444.

Source

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

Gets ListStatusText, Tag 444.

Source

pub fn has_list_status_text(&self) -> bool

Returns true if ListStatusText is present, Tag 444.

Source

pub fn set_list_status_type(&mut self, v: isize)

Sets ListStatusType, Tag 429.

Source

pub fn get_list_status_type(&self) -> Result<isize, MessageRejectErrorEnum>

Gets ListStatusType, Tag 429.

Source

pub fn has_list_status_type(&self) -> bool

Returns true if ListStatusType is present, Tag 429.

Source

pub fn set_no_orders(&mut self, v: isize)

Sets NoOrders, Tag 73.

Source

pub fn get_no_orders(&self) -> Result<isize, MessageRejectErrorEnum>

Gets NoOrders, Tag 73.

Source

pub fn has_no_orders(&self) -> bool

Returns true if NoOrders is present, Tag 73.

Source

pub fn set_no_rpts(&mut self, v: isize)

Sets NoRpts, Tag 82.

Source

pub fn get_no_rpts(&self) -> Result<isize, MessageRejectErrorEnum>

Gets NoRpts, Tag 82.

Source

pub fn has_no_rpts(&self) -> bool

Returns true if NoRpts is present, Tag 82.

Source

pub fn set_rpt_seq(&mut self, v: isize)

Sets RptSeq, Tag 83.

Source

pub fn get_rpt_seq(&self) -> Result<isize, MessageRejectErrorEnum>

Gets RptSeq, Tag 83.

Source

pub fn has_rpt_seq(&self) -> bool

Returns true if RptSeq is present, Tag 83.

Source

pub fn set_tot_no_orders(&mut self, v: isize)

Sets TotNoOrders, Tag 68.

Source

pub fn get_tot_no_orders(&self) -> Result<isize, MessageRejectErrorEnum>

Gets TotNoOrders, Tag 68.

Source

pub fn has_tot_no_orders(&self) -> bool

Returns true if TotNoOrders is present, Tag 68.

Source

pub fn set_transact_time(&mut self, v: Timestamp)

Sets TransactTime, Tag 60.

Source

pub fn get_transact_time(&self) -> Result<Timestamp, MessageRejectErrorEnum>

Gets TransactTime, Tag 60.

Source

pub fn has_transact_time(&self) -> bool

Returns true if TransactTime is present, Tag 60.

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.