Skip to main content

TradingSessionStatusRequest

Struct TradingSessionStatusRequest 

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

TradingSessionStatusRequest is the fix50 TradingSessionStatusRequest type, MsgType = g.

Fields§

§message: Message

Implementations§

Source§

impl TradingSessionStatusRequest

Source

pub fn new( trad_ses_req_id: TradSesReqIDField, subscription_request_type: SubscriptionRequestTypeField, ) -> Self

Creates a new TradingSessionStatusRequest with required fields.

Source

pub fn from_message(msg: Message) -> Self

Creates a TradingSessionStatusRequest from an existing Message.

Source

pub fn to_message(self) -> Message

Returns the underlying Message.

Source

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

Sets SecurityExchange, Tag 207.

Source

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

Gets SecurityExchange, Tag 207.

Source

pub fn has_security_exchange(&self) -> bool

Returns true if SecurityExchange is present, Tag 207.

Source

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

Sets SubscriptionRequestType, Tag 263.

Source

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

Gets SubscriptionRequestType, Tag 263.

Source

pub fn has_subscription_request_type(&self) -> bool

Returns true if SubscriptionRequestType is present, Tag 263.

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_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_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.

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.