Skip to main content

TradingSessionStatus

Struct TradingSessionStatus 

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

TradingSessionStatus is the fix43 TradingSessionStatus type, MsgType = h.

Fields§

§message: Message

Implementations§

Source§

impl TradingSessionStatus

Source

pub fn new( trading_session_id: TradingSessionIDField, trad_ses_status: TradSesStatusField, ) -> Self

Creates a new TradingSessionStatus with required fields.

Source

pub fn from_message(msg: Message) -> Self

Creates a TradingSessionStatus from an existing Message.

Source

pub fn to_message(self) -> Message

Returns the underlying Message.

Source

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

Sets EncodedText, Tag 355.

Source

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

Gets EncodedText, Tag 355.

Source

pub fn has_encoded_text(&self) -> bool

Returns true if EncodedText is present, Tag 355.

Source

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

Sets EncodedTextLen, Tag 354.

Source

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

Gets EncodedTextLen, Tag 354.

Source

pub fn has_encoded_text_len(&self) -> bool

Returns true if EncodedTextLen is present, Tag 354.

Source

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

Sets Text, Tag 58.

Source

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

Gets Text, Tag 58.

Source

pub fn has_text(&self) -> bool

Returns true if Text is present, Tag 58.

Source

pub fn set_total_volume_traded(&mut self, val: Decimal, scale: i32)

Sets TotalVolumeTraded, Tag 387.

Source

pub fn get_total_volume_traded(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets TotalVolumeTraded, Tag 387.

Source

pub fn has_total_volume_traded(&self) -> bool

Returns true if TotalVolumeTraded is present, Tag 387.

Source

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

Sets TradSesCloseTime, Tag 344.

Source

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

Gets TradSesCloseTime, Tag 344.

Source

pub fn has_trad_ses_close_time(&self) -> bool

Returns true if TradSesCloseTime is present, Tag 344.

Source

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

Sets TradSesEndTime, Tag 345.

Source

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

Gets TradSesEndTime, Tag 345.

Source

pub fn has_trad_ses_end_time(&self) -> bool

Returns true if TradSesEndTime is present, Tag 345.

Source

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

Sets TradSesMethod, Tag 338.

Source

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

Gets TradSesMethod, Tag 338.

Source

pub fn has_trad_ses_method(&self) -> bool

Returns true if TradSesMethod is present, Tag 338.

Source

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

Sets TradSesMode, Tag 339.

Source

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

Gets TradSesMode, Tag 339.

Source

pub fn has_trad_ses_mode(&self) -> bool

Returns true if TradSesMode is present, Tag 339.

Source

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

Sets TradSesOpenTime, Tag 342.

Source

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

Gets TradSesOpenTime, Tag 342.

Source

pub fn has_trad_ses_open_time(&self) -> bool

Returns true if TradSesOpenTime is present, Tag 342.

Source

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

Sets TradSesPreCloseTime, Tag 343.

Source

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

Gets TradSesPreCloseTime, Tag 343.

Source

pub fn has_trad_ses_pre_close_time(&self) -> bool

Returns true if TradSesPreCloseTime is present, Tag 343.

Source

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

Sets TradSesReqID, Tag 335.

Source

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

Gets TradSesReqID, Tag 335.

Source

pub fn has_trad_ses_req_id(&self) -> bool

Returns true if TradSesReqID is present, Tag 335.

Source

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

Sets TradSesStartTime, Tag 341.

Source

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

Gets TradSesStartTime, Tag 341.

Source

pub fn has_trad_ses_start_time(&self) -> bool

Returns true if TradSesStartTime is present, Tag 341.

Source

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

Sets TradSesStatus, Tag 340.

Source

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

Gets TradSesStatus, Tag 340.

Source

pub fn has_trad_ses_status(&self) -> bool

Returns true if TradSesStatus is present, Tag 340.

Source

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

Sets TradSesStatusRejReason, Tag 567.

Source

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

Gets TradSesStatusRejReason, Tag 567.

Source

pub fn has_trad_ses_status_rej_reason(&self) -> bool

Returns true if TradSesStatusRejReason is present, Tag 567.

Source

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

Sets TradingSessionID, Tag 336.

Source

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

Gets TradingSessionID, Tag 336.

Source

pub fn has_trading_session_id(&self) -> bool

Returns true if TradingSessionID is present, Tag 336.

Source

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

Sets TradingSessionSubID, Tag 625.

Source

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

Gets TradingSessionSubID, Tag 625.

Source

pub fn has_trading_session_sub_id(&self) -> bool

Returns true if TradingSessionSubID is present, Tag 625.

Source

pub fn set_unsolicited_indicator(&mut self, v: bool)

Sets UnsolicitedIndicator, Tag 325.

Source

pub fn get_unsolicited_indicator(&self) -> Result<bool, MessageRejectErrorEnum>

Gets UnsolicitedIndicator, Tag 325.

Source

pub fn has_unsolicited_indicator(&self) -> bool

Returns true if UnsolicitedIndicator is present, Tag 325.

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.