Struct MarketDataRequest

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

Implementations§

Source§

impl MarketDataRequest

Source

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

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 MarketDataRequest

Source

pub fn try_new( md_req_id: MDReqID, subscription_request_type: SubscriptionRequestType, market_depth: MarketDepth, ) -> Result<Self, QuickFixError>

Source§

impl MarketDataRequest

Source

pub fn get_md_req_id(&self) -> MDReqID

Source

pub fn get_subscription_request_type(&self) -> SubscriptionRequestType

Source

pub fn get_market_depth(&self) -> MarketDepth

Source

pub fn get_md_update_type(&self) -> Option<MDUpdateType>

Source

pub fn get_aggregated_book(&self) -> Option<AggregatedBook>

Source

pub fn get_open_close_settl_flag(&self) -> Option<OpenCloseSettlFlag>

Source

pub fn get_scope(&self) -> Option<Scope>

Source

pub fn get_md_implicit_delete(&self) -> Option<MDImplicitDelete>

Source

pub fn no_md_entry_types_len(&self) -> usize

Source

pub fn clone_group_no_md_entry_types( &self, index: usize, ) -> Option<NoMDEntryTypes>

Source

pub fn iter_no_md_entry_types(&self) -> GroupIterator<'_, Self, NoMDEntryTypes>

Source

pub fn no_trading_sessions_len(&self) -> usize

Source

pub fn clone_group_no_trading_sessions( &self, index: usize, ) -> Option<NoTradingSessions>

Source

pub fn iter_no_trading_sessions( &self, ) -> GroupIterator<'_, Self, NoTradingSessions>

Source

pub fn get_appl_queue_action(&self) -> Option<ApplQueueAction>

Source

pub fn get_appl_queue_max(&self) -> Option<ApplQueueMax>

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Trait Implementations§

Source§

impl Clone for MarketDataRequest

Source§

fn clone(&self) -> MarketDataRequest

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 MarketDataRequest

Source§

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

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

impl From<MarketDataRequest> for Message

Source§

fn from(input: MarketDataRequest) -> Self

Converts to this type from the input type.
Source§

impl From<Message> for MarketDataRequest

Source§

fn from(input: Message) -> 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.