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_settle_flag(&self) -> Option<OpenCloseSettleFlag>

source

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

source

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

source

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

source

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

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_settle_flag( &mut self, value: OpenCloseSettleFlag ) -> Result<&Self, QuickFixError>

source

pub fn remove_open_close_settle_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>

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> 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,

§

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>,

§

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>,

§

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.