Skip to main content

ListStatus

Struct ListStatus 

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

ListStatus is the fix41 ListStatus type, MsgType = N.

Fields§

§message: Message

Implementations§

Source§

impl ListStatus

Source

pub fn new( list_id: ListIDField, no_rpts: NoRptsField, rpt_seq: RptSeqField, 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_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_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_wave_no(&mut self, v: String)

Sets WaveNo, Tag 105.

Source

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

Gets WaveNo, Tag 105.

Source

pub fn has_wave_no(&self) -> bool

Returns true if WaveNo is present, Tag 105.

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.