pub struct TradingSessionStatus { /* private fields */ }
Implementations§
Source§impl TradingSessionStatus
impl TradingSessionStatus
pub const MSG_TYPE_BYTES: &'static str = "h"
pub const MSG_TYPE: MsgType
pub fn header(&mut self) -> Header<'_>
pub fn header_mut(&mut self) -> HeaderMut<'_>
pub fn trailer(&mut self) -> Trailer<'_>
pub fn trailer_mut(&mut self) -> TrailerMut<'_>
Sourcepub fn to_fix_string(&self) -> String
pub fn to_fix_string(&self) -> String
Convert inner message as FIX text.
This method is only here for debug / tests purposes. Do not use this in real production code.
Source§impl TradingSessionStatus
impl TradingSessionStatus
pub fn try_new( trading_session_id: TradingSessionID, trad_ses_status: TradSesStatus, ) -> Result<Self, QuickFixError>
Source§impl TradingSessionStatus
impl TradingSessionStatus
pub fn get_trad_ses_req_id(&self) -> Option<TradSesReqID>
pub fn get_trading_session_id(&self) -> TradingSessionID
pub fn get_trading_session_sub_id(&self) -> Option<TradingSessionSubID>
pub fn get_trad_ses_method(&self) -> Option<TradSesMethod>
pub fn get_trad_ses_mode(&self) -> Option<TradSesMode>
pub fn get_unsolicited_indicator(&self) -> Option<UnsolicitedIndicator>
pub fn get_trad_ses_status(&self) -> TradSesStatus
pub fn get_trad_ses_status_rej_reason(&self) -> Option<TradSesStatusRejReason>
pub fn get_trad_ses_start_time(&self) -> Option<TradSesStartTime>
pub fn get_trad_ses_open_time(&self) -> Option<TradSesOpenTime>
pub fn get_trad_ses_pre_close_time(&self) -> Option<TradSesPreCloseTime>
pub fn get_trad_ses_close_time(&self) -> Option<TradSesCloseTime>
pub fn get_trad_ses_end_time(&self) -> Option<TradSesEndTime>
pub fn get_total_volume_traded(&self) -> Option<TotalVolumeTraded>
pub fn get_text(&self) -> Option<Text>
pub fn get_encoded_text_len(&self) -> Option<EncodedTextLen>
pub fn get_encoded_text(&self) -> Option<EncodedText>
pub fn set_trad_ses_req_id( &mut self, value: TradSesReqID, ) -> Result<&Self, QuickFixError>
pub fn remove_trad_ses_req_id(&mut self) -> Result<&Self, QuickFixError>
pub fn set_trading_session_id( &mut self, value: TradingSessionID, ) -> Result<&Self, QuickFixError>
pub fn set_trading_session_sub_id( &mut self, value: TradingSessionSubID, ) -> Result<&Self, QuickFixError>
pub fn remove_trading_session_sub_id(&mut self) -> Result<&Self, QuickFixError>
pub fn set_trad_ses_method( &mut self, value: TradSesMethod, ) -> Result<&Self, QuickFixError>
pub fn remove_trad_ses_method(&mut self) -> Result<&Self, QuickFixError>
pub fn set_trad_ses_mode( &mut self, value: TradSesMode, ) -> Result<&Self, QuickFixError>
pub fn remove_trad_ses_mode(&mut self) -> Result<&Self, QuickFixError>
pub fn set_unsolicited_indicator( &mut self, value: UnsolicitedIndicator, ) -> Result<&Self, QuickFixError>
pub fn remove_unsolicited_indicator(&mut self) -> Result<&Self, QuickFixError>
pub fn set_trad_ses_status( &mut self, value: TradSesStatus, ) -> Result<&Self, QuickFixError>
pub fn set_trad_ses_status_rej_reason( &mut self, value: TradSesStatusRejReason, ) -> Result<&Self, QuickFixError>
pub fn remove_trad_ses_status_rej_reason( &mut self, ) -> Result<&Self, QuickFixError>
pub fn set_trad_ses_start_time( &mut self, value: TradSesStartTime, ) -> Result<&Self, QuickFixError>
pub fn remove_trad_ses_start_time(&mut self) -> Result<&Self, QuickFixError>
pub fn set_trad_ses_open_time( &mut self, value: TradSesOpenTime, ) -> Result<&Self, QuickFixError>
pub fn remove_trad_ses_open_time(&mut self) -> Result<&Self, QuickFixError>
pub fn set_trad_ses_pre_close_time( &mut self, value: TradSesPreCloseTime, ) -> Result<&Self, QuickFixError>
pub fn remove_trad_ses_pre_close_time(&mut self) -> Result<&Self, QuickFixError>
pub fn set_trad_ses_close_time( &mut self, value: TradSesCloseTime, ) -> Result<&Self, QuickFixError>
pub fn remove_trad_ses_close_time(&mut self) -> Result<&Self, QuickFixError>
pub fn set_trad_ses_end_time( &mut self, value: TradSesEndTime, ) -> Result<&Self, QuickFixError>
pub fn remove_trad_ses_end_time(&mut self) -> Result<&Self, QuickFixError>
pub fn set_total_volume_traded( &mut self, value: TotalVolumeTraded, ) -> Result<&Self, QuickFixError>
pub fn remove_total_volume_traded(&mut self) -> Result<&Self, QuickFixError>
pub fn set_text(&mut self, value: Text) -> Result<&Self, QuickFixError>
pub fn remove_text(&mut self) -> Result<&Self, QuickFixError>
pub fn set_encoded_text_len( &mut self, value: EncodedTextLen, ) -> Result<&Self, QuickFixError>
pub fn remove_encoded_text_len(&mut self) -> Result<&Self, QuickFixError>
pub fn set_encoded_text( &mut self, value: EncodedText, ) -> Result<&Self, QuickFixError>
pub fn remove_encoded_text(&mut self) -> Result<&Self, QuickFixError>
Trait Implementations§
Source§impl Clone for TradingSessionStatus
impl Clone for TradingSessionStatus
Source§fn clone(&self) -> TradingSessionStatus
fn clone(&self) -> TradingSessionStatus
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TradingSessionStatus
impl Debug for TradingSessionStatus
Source§impl From<Message> for TradingSessionStatus
impl From<Message> for TradingSessionStatus
Source§impl From<TradingSessionStatus> for Message
impl From<TradingSessionStatus> for Message
Source§fn from(input: TradingSessionStatus) -> Self
fn from(input: TradingSessionStatus) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for TradingSessionStatus
impl RefUnwindSafe for TradingSessionStatus
impl !Send for TradingSessionStatus
impl !Sync for TradingSessionStatus
impl Unpin for TradingSessionStatus
impl UnwindSafe for TradingSessionStatus
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more