Struct TradingSessionStatus

Source
pub struct TradingSessionStatus { /* private fields */ }

Implementations§

Source§

impl TradingSessionStatus

Source

pub const MSG_TYPE_BYTES: &'static str = "h"

Source

pub const MSG_TYPE: MsgType

Source

pub fn header(&mut self) -> Header<'_>

Source

pub fn header_mut(&mut self) -> HeaderMut<'_>

Source

pub fn trailer(&mut self) -> Trailer<'_>

Source

pub fn trailer_mut(&mut self) -> TrailerMut<'_>

Source

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

Source

pub fn try_new( trading_session_id: TradingSessionID, trad_ses_status: TradSesStatus, ) -> Result<Self, QuickFixError>

Source§

impl TradingSessionStatus

Source

pub fn get_trad_ses_req_id(&self) -> Option<TradSesReqID>

Source

pub fn get_trading_session_id(&self) -> TradingSessionID

Source

pub fn get_trading_session_sub_id(&self) -> Option<TradingSessionSubID>

Source

pub fn get_trad_ses_method(&self) -> Option<TradSesMethod>

Source

pub fn get_trad_ses_mode(&self) -> Option<TradSesMode>

Source

pub fn get_unsolicited_indicator(&self) -> Option<UnsolicitedIndicator>

Source

pub fn get_trad_ses_status(&self) -> TradSesStatus

Source

pub fn get_trad_ses_status_rej_reason(&self) -> Option<TradSesStatusRejReason>

Source

pub fn get_trad_ses_start_time(&self) -> Option<TradSesStartTime>

Source

pub fn get_trad_ses_open_time(&self) -> Option<TradSesOpenTime>

Source

pub fn get_trad_ses_pre_close_time(&self) -> Option<TradSesPreCloseTime>

Source

pub fn get_trad_ses_close_time(&self) -> Option<TradSesCloseTime>

Source

pub fn get_trad_ses_end_time(&self) -> Option<TradSesEndTime>

Source

pub fn get_total_volume_traded(&self) -> Option<TotalVolumeTraded>

Source

pub fn get_text(&self) -> Option<Text>

Source

pub fn get_encoded_text_len(&self) -> Option<EncodedTextLen>

Source

pub fn get_encoded_text(&self) -> Option<EncodedText>

Source

pub fn set_trad_ses_req_id( &mut self, value: TradSesReqID, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_trad_ses_req_id(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_trading_session_id( &mut self, value: TradingSessionID, ) -> Result<&Self, QuickFixError>

Source

pub fn set_trading_session_sub_id( &mut self, value: TradingSessionSubID, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_trading_session_sub_id(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_trad_ses_method( &mut self, value: TradSesMethod, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_trad_ses_method(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_trad_ses_mode( &mut self, value: TradSesMode, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_trad_ses_mode(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_unsolicited_indicator( &mut self, value: UnsolicitedIndicator, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_unsolicited_indicator(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_trad_ses_status( &mut self, value: TradSesStatus, ) -> Result<&Self, QuickFixError>

Source

pub fn set_trad_ses_status_rej_reason( &mut self, value: TradSesStatusRejReason, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_trad_ses_status_rej_reason( &mut self, ) -> Result<&Self, QuickFixError>

Source

pub fn set_trad_ses_start_time( &mut self, value: TradSesStartTime, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_trad_ses_start_time(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_trad_ses_open_time( &mut self, value: TradSesOpenTime, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_trad_ses_open_time(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_trad_ses_pre_close_time( &mut self, value: TradSesPreCloseTime, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_trad_ses_pre_close_time(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_trad_ses_close_time( &mut self, value: TradSesCloseTime, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_trad_ses_close_time(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_trad_ses_end_time( &mut self, value: TradSesEndTime, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_trad_ses_end_time(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_total_volume_traded( &mut self, value: TotalVolumeTraded, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_total_volume_traded(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_text(&mut self, value: Text) -> Result<&Self, QuickFixError>

Source

pub fn remove_text(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_encoded_text_len( &mut self, value: EncodedTextLen, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_encoded_text_len(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_encoded_text( &mut self, value: EncodedText, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_encoded_text(&mut self) -> Result<&Self, QuickFixError>

Trait Implementations§

Source§

impl Clone for TradingSessionStatus

Source§

fn clone(&self) -> TradingSessionStatus

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for TradingSessionStatus

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<Message> for TradingSessionStatus

Source§

fn from(input: Message) -> Self

Converts to this type from the input type.
Source§

impl From<TradingSessionStatus> for Message

Source§

fn from(input: TradingSessionStatus) -> Self

Converts to this type from the input type.

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
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.