pub struct TradingSessionStatus {
pub message: Message,
}Expand description
TradingSessionStatus is the fix43 TradingSessionStatus type, MsgType = h.
Fields§
§message: MessageImplementations§
Source§impl TradingSessionStatus
impl TradingSessionStatus
Sourcepub fn new(
trading_session_id: TradingSessionIDField,
trad_ses_status: TradSesStatusField,
) -> Self
pub fn new( trading_session_id: TradingSessionIDField, trad_ses_status: TradSesStatusField, ) -> Self
Creates a new TradingSessionStatus with required fields.
Sourcepub fn from_message(msg: Message) -> Self
pub fn from_message(msg: Message) -> Self
Creates a TradingSessionStatus from an existing Message.
Sourcepub fn to_message(self) -> Message
pub fn to_message(self) -> Message
Returns the underlying Message.
Sourcepub fn set_encoded_text(&mut self, v: String)
pub fn set_encoded_text(&mut self, v: String)
Sets EncodedText, Tag 355.
Sourcepub fn get_encoded_text(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_encoded_text(&self) -> Result<String, MessageRejectErrorEnum>
Gets EncodedText, Tag 355.
Sourcepub fn has_encoded_text(&self) -> bool
pub fn has_encoded_text(&self) -> bool
Returns true if EncodedText is present, Tag 355.
Sourcepub fn set_encoded_text_len(&mut self, v: isize)
pub fn set_encoded_text_len(&mut self, v: isize)
Sets EncodedTextLen, Tag 354.
Sourcepub fn get_encoded_text_len(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_encoded_text_len(&self) -> Result<isize, MessageRejectErrorEnum>
Gets EncodedTextLen, Tag 354.
Sourcepub fn has_encoded_text_len(&self) -> bool
pub fn has_encoded_text_len(&self) -> bool
Returns true if EncodedTextLen is present, Tag 354.
Sourcepub fn get_text(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_text(&self) -> Result<String, MessageRejectErrorEnum>
Gets Text, Tag 58.
Sourcepub fn set_total_volume_traded(&mut self, val: Decimal, scale: i32)
pub fn set_total_volume_traded(&mut self, val: Decimal, scale: i32)
Sets TotalVolumeTraded, Tag 387.
Sourcepub fn get_total_volume_traded(&self) -> Result<Decimal, MessageRejectErrorEnum>
pub fn get_total_volume_traded(&self) -> Result<Decimal, MessageRejectErrorEnum>
Gets TotalVolumeTraded, Tag 387.
Sourcepub fn has_total_volume_traded(&self) -> bool
pub fn has_total_volume_traded(&self) -> bool
Returns true if TotalVolumeTraded is present, Tag 387.
Sourcepub fn set_trad_ses_close_time(&mut self, v: Timestamp)
pub fn set_trad_ses_close_time(&mut self, v: Timestamp)
Sets TradSesCloseTime, Tag 344.
Sourcepub fn get_trad_ses_close_time(
&self,
) -> Result<Timestamp, MessageRejectErrorEnum>
pub fn get_trad_ses_close_time( &self, ) -> Result<Timestamp, MessageRejectErrorEnum>
Gets TradSesCloseTime, Tag 344.
Sourcepub fn has_trad_ses_close_time(&self) -> bool
pub fn has_trad_ses_close_time(&self) -> bool
Returns true if TradSesCloseTime is present, Tag 344.
Sourcepub fn set_trad_ses_end_time(&mut self, v: Timestamp)
pub fn set_trad_ses_end_time(&mut self, v: Timestamp)
Sets TradSesEndTime, Tag 345.
Sourcepub fn get_trad_ses_end_time(&self) -> Result<Timestamp, MessageRejectErrorEnum>
pub fn get_trad_ses_end_time(&self) -> Result<Timestamp, MessageRejectErrorEnum>
Gets TradSesEndTime, Tag 345.
Sourcepub fn has_trad_ses_end_time(&self) -> bool
pub fn has_trad_ses_end_time(&self) -> bool
Returns true if TradSesEndTime is present, Tag 345.
Sourcepub fn set_trad_ses_method(&mut self, v: isize)
pub fn set_trad_ses_method(&mut self, v: isize)
Sets TradSesMethod, Tag 338.
Sourcepub fn get_trad_ses_method(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_trad_ses_method(&self) -> Result<isize, MessageRejectErrorEnum>
Gets TradSesMethod, Tag 338.
Sourcepub fn has_trad_ses_method(&self) -> bool
pub fn has_trad_ses_method(&self) -> bool
Returns true if TradSesMethod is present, Tag 338.
Sourcepub fn set_trad_ses_mode(&mut self, v: isize)
pub fn set_trad_ses_mode(&mut self, v: isize)
Sets TradSesMode, Tag 339.
Sourcepub fn get_trad_ses_mode(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_trad_ses_mode(&self) -> Result<isize, MessageRejectErrorEnum>
Gets TradSesMode, Tag 339.
Sourcepub fn has_trad_ses_mode(&self) -> bool
pub fn has_trad_ses_mode(&self) -> bool
Returns true if TradSesMode is present, Tag 339.
Sourcepub fn set_trad_ses_open_time(&mut self, v: Timestamp)
pub fn set_trad_ses_open_time(&mut self, v: Timestamp)
Sets TradSesOpenTime, Tag 342.
Sourcepub fn get_trad_ses_open_time(
&self,
) -> Result<Timestamp, MessageRejectErrorEnum>
pub fn get_trad_ses_open_time( &self, ) -> Result<Timestamp, MessageRejectErrorEnum>
Gets TradSesOpenTime, Tag 342.
Sourcepub fn has_trad_ses_open_time(&self) -> bool
pub fn has_trad_ses_open_time(&self) -> bool
Returns true if TradSesOpenTime is present, Tag 342.
Sourcepub fn set_trad_ses_pre_close_time(&mut self, v: Timestamp)
pub fn set_trad_ses_pre_close_time(&mut self, v: Timestamp)
Sets TradSesPreCloseTime, Tag 343.
Sourcepub fn get_trad_ses_pre_close_time(
&self,
) -> Result<Timestamp, MessageRejectErrorEnum>
pub fn get_trad_ses_pre_close_time( &self, ) -> Result<Timestamp, MessageRejectErrorEnum>
Gets TradSesPreCloseTime, Tag 343.
Sourcepub fn has_trad_ses_pre_close_time(&self) -> bool
pub fn has_trad_ses_pre_close_time(&self) -> bool
Returns true if TradSesPreCloseTime is present, Tag 343.
Sourcepub fn set_trad_ses_req_id(&mut self, v: String)
pub fn set_trad_ses_req_id(&mut self, v: String)
Sets TradSesReqID, Tag 335.
Sourcepub fn get_trad_ses_req_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_trad_ses_req_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets TradSesReqID, Tag 335.
Sourcepub fn has_trad_ses_req_id(&self) -> bool
pub fn has_trad_ses_req_id(&self) -> bool
Returns true if TradSesReqID is present, Tag 335.
Sourcepub fn set_trad_ses_start_time(&mut self, v: Timestamp)
pub fn set_trad_ses_start_time(&mut self, v: Timestamp)
Sets TradSesStartTime, Tag 341.
Sourcepub fn get_trad_ses_start_time(
&self,
) -> Result<Timestamp, MessageRejectErrorEnum>
pub fn get_trad_ses_start_time( &self, ) -> Result<Timestamp, MessageRejectErrorEnum>
Gets TradSesStartTime, Tag 341.
Sourcepub fn has_trad_ses_start_time(&self) -> bool
pub fn has_trad_ses_start_time(&self) -> bool
Returns true if TradSesStartTime is present, Tag 341.
Sourcepub fn set_trad_ses_status(&mut self, v: isize)
pub fn set_trad_ses_status(&mut self, v: isize)
Sets TradSesStatus, Tag 340.
Sourcepub fn get_trad_ses_status(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_trad_ses_status(&self) -> Result<isize, MessageRejectErrorEnum>
Gets TradSesStatus, Tag 340.
Sourcepub fn has_trad_ses_status(&self) -> bool
pub fn has_trad_ses_status(&self) -> bool
Returns true if TradSesStatus is present, Tag 340.
Sourcepub fn set_trad_ses_status_rej_reason(&mut self, v: isize)
pub fn set_trad_ses_status_rej_reason(&mut self, v: isize)
Sets TradSesStatusRejReason, Tag 567.
Sourcepub fn get_trad_ses_status_rej_reason(
&self,
) -> Result<isize, MessageRejectErrorEnum>
pub fn get_trad_ses_status_rej_reason( &self, ) -> Result<isize, MessageRejectErrorEnum>
Gets TradSesStatusRejReason, Tag 567.
Sourcepub fn has_trad_ses_status_rej_reason(&self) -> bool
pub fn has_trad_ses_status_rej_reason(&self) -> bool
Returns true if TradSesStatusRejReason is present, Tag 567.
Sourcepub fn set_trading_session_id(&mut self, v: String)
pub fn set_trading_session_id(&mut self, v: String)
Sets TradingSessionID, Tag 336.
Sourcepub fn get_trading_session_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_trading_session_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets TradingSessionID, Tag 336.
Sourcepub fn has_trading_session_id(&self) -> bool
pub fn has_trading_session_id(&self) -> bool
Returns true if TradingSessionID is present, Tag 336.
Sourcepub fn set_trading_session_sub_id(&mut self, v: String)
pub fn set_trading_session_sub_id(&mut self, v: String)
Sets TradingSessionSubID, Tag 625.
Sourcepub fn get_trading_session_sub_id(
&self,
) -> Result<String, MessageRejectErrorEnum>
pub fn get_trading_session_sub_id( &self, ) -> Result<String, MessageRejectErrorEnum>
Gets TradingSessionSubID, Tag 625.
Sourcepub fn has_trading_session_sub_id(&self) -> bool
pub fn has_trading_session_sub_id(&self) -> bool
Returns true if TradingSessionSubID is present, Tag 625.
Sourcepub fn set_unsolicited_indicator(&mut self, v: bool)
pub fn set_unsolicited_indicator(&mut self, v: bool)
Sets UnsolicitedIndicator, Tag 325.
Sourcepub fn get_unsolicited_indicator(&self) -> Result<bool, MessageRejectErrorEnum>
pub fn get_unsolicited_indicator(&self) -> Result<bool, MessageRejectErrorEnum>
Gets UnsolicitedIndicator, Tag 325.
Sourcepub fn has_unsolicited_indicator(&self) -> bool
pub fn has_unsolicited_indicator(&self) -> bool
Returns true if UnsolicitedIndicator is present, Tag 325.