pub struct TradingSessionStatus(/* private fields */);Expand description
The TradingSessionStatus (35=h) message.
Implementations§
Source§impl TradingSessionStatus
impl TradingSessionStatus
pub const MSG_TYPE: &[u8] = b"h"
pub const KNOWN_TAGS: KnownTags<'static>
pub fn from_raw(raw: RawMessage) -> Self
pub fn raw(&self) -> &RawMessage
pub fn header(&self) -> Header<'_>
pub fn trailer(&self) -> Trailer<'_>
Sourcepub fn trad_ses_req_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn trad_ses_req_id(&self) -> Result<Option<&str>, InvalidValue>
The TradSesReqID (335) field.
Sourcepub fn trading_session_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn trading_session_id(&self) -> Result<Option<&str>, InvalidValue>
The TradingSessionID (336) field.
Sourcepub fn trading_session_sub_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn trading_session_sub_id(&self) -> Result<Option<&str>, InvalidValue>
The TradingSessionSubID (625) field.
Sourcepub fn trad_ses_method(&self) -> Result<Option<TradSesMethod>, InvalidValue>
pub fn trad_ses_method(&self) -> Result<Option<TradSesMethod>, InvalidValue>
The TradSesMethod (338) field.
Sourcepub fn trad_ses_mode(&self) -> Result<Option<TradSesMode>, InvalidValue>
pub fn trad_ses_mode(&self) -> Result<Option<TradSesMode>, InvalidValue>
The TradSesMode (339) field.
Sourcepub fn unsolicited_indicator(&self) -> Result<Option<bool>, InvalidValue>
pub fn unsolicited_indicator(&self) -> Result<Option<bool>, InvalidValue>
The UnsolicitedIndicator (325) field.
Sourcepub fn trad_ses_status(&self) -> Result<Option<TradSesStatus>, InvalidValue>
pub fn trad_ses_status(&self) -> Result<Option<TradSesStatus>, InvalidValue>
The TradSesStatus (340) field.
Sourcepub fn trad_ses_status_rej_reason(
&self,
) -> Result<Option<TradSesStatusRejReason>, InvalidValue>
pub fn trad_ses_status_rej_reason( &self, ) -> Result<Option<TradSesStatusRejReason>, InvalidValue>
The TradSesStatusRejReason (567) field.
Sourcepub fn trad_ses_start_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
pub fn trad_ses_start_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
The TradSesStartTime (341) field.
Sourcepub fn trad_ses_open_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
pub fn trad_ses_open_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
The TradSesOpenTime (342) field.
Sourcepub fn trad_ses_pre_close_time(
&self,
) -> Result<Option<UtcTimestamp>, InvalidValue>
pub fn trad_ses_pre_close_time( &self, ) -> Result<Option<UtcTimestamp>, InvalidValue>
The TradSesPreCloseTime (343) field.
Sourcepub fn trad_ses_close_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
pub fn trad_ses_close_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
The TradSesCloseTime (344) field.
Sourcepub fn trad_ses_end_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
pub fn trad_ses_end_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>
The TradSesEndTime (345) field.
Sourcepub fn total_volume_traded(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn total_volume_traded(&self) -> Result<Option<Decimal>, InvalidValue>
The TotalVolumeTraded (387) field.
Sourcepub fn encoded_text_len(&self) -> Result<Option<i64>, InvalidValue>
pub fn encoded_text_len(&self) -> Result<Option<i64>, InvalidValue>
The EncodedTextLen (354) field.
Sourcepub fn encoded_text(&self) -> Option<&[u8]>
pub fn encoded_text(&self) -> Option<&[u8]>
The EncodedText (355) field.
Trait Implementations§
Source§impl Debug for TradingSessionStatus
impl Debug for TradingSessionStatus
Auto Trait Implementations§
impl !Freeze for TradingSessionStatus
impl Forget for TradingSessionStatus
impl Move for TradingSessionStatus
impl RefUnwindSafe for TradingSessionStatus
impl Send for TradingSessionStatus
impl Sync for TradingSessionStatus
impl Unpin for TradingSessionStatus
impl UnsafeUnpin 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