pub struct MarketDataRequest {
pub message: Message,
}Expand description
MarketDataRequest is the fix44 MarketDataRequest type, MsgType = V.
Fields§
§message: MessageImplementations§
Source§impl MarketDataRequest
impl MarketDataRequest
Sourcepub fn new(
md_req_id: MDReqIDField,
subscription_request_type: SubscriptionRequestTypeField,
market_depth: MarketDepthField,
no_md_entry_types: NoMDEntryTypesField,
no_related_sym: NoRelatedSymField,
) -> Self
pub fn new( md_req_id: MDReqIDField, subscription_request_type: SubscriptionRequestTypeField, market_depth: MarketDepthField, no_md_entry_types: NoMDEntryTypesField, no_related_sym: NoRelatedSymField, ) -> Self
Creates a new MarketDataRequest with required fields.
Sourcepub fn from_message(msg: Message) -> Self
pub fn from_message(msg: Message) -> Self
Creates a MarketDataRequest from an existing Message.
Sourcepub fn to_message(self) -> Message
pub fn to_message(self) -> Message
Returns the underlying Message.
Sourcepub fn set_aggregated_book(&mut self, v: bool)
pub fn set_aggregated_book(&mut self, v: bool)
Sets AggregatedBook, Tag 266.
Sourcepub fn get_aggregated_book(&self) -> Result<bool, MessageRejectErrorEnum>
pub fn get_aggregated_book(&self) -> Result<bool, MessageRejectErrorEnum>
Gets AggregatedBook, Tag 266.
Sourcepub fn has_aggregated_book(&self) -> bool
pub fn has_aggregated_book(&self) -> bool
Returns true if AggregatedBook is present, Tag 266.
Sourcepub fn set_md_implicit_delete(&mut self, v: bool)
pub fn set_md_implicit_delete(&mut self, v: bool)
Sets MDImplicitDelete, Tag 547.
Sourcepub fn get_md_implicit_delete(&self) -> Result<bool, MessageRejectErrorEnum>
pub fn get_md_implicit_delete(&self) -> Result<bool, MessageRejectErrorEnum>
Gets MDImplicitDelete, Tag 547.
Sourcepub fn has_md_implicit_delete(&self) -> bool
pub fn has_md_implicit_delete(&self) -> bool
Returns true if MDImplicitDelete is present, Tag 547.
Sourcepub fn set_md_req_id(&mut self, v: String)
pub fn set_md_req_id(&mut self, v: String)
Sets MDReqID, Tag 262.
Sourcepub fn get_md_req_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_md_req_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets MDReqID, Tag 262.
Sourcepub fn has_md_req_id(&self) -> bool
pub fn has_md_req_id(&self) -> bool
Returns true if MDReqID is present, Tag 262.
Sourcepub fn set_md_update_type(&mut self, v: isize)
pub fn set_md_update_type(&mut self, v: isize)
Sets MDUpdateType, Tag 265.
Sourcepub fn get_md_update_type(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_md_update_type(&self) -> Result<isize, MessageRejectErrorEnum>
Gets MDUpdateType, Tag 265.
Sourcepub fn has_md_update_type(&self) -> bool
pub fn has_md_update_type(&self) -> bool
Returns true if MDUpdateType is present, Tag 265.
Sourcepub fn set_market_depth(&mut self, v: isize)
pub fn set_market_depth(&mut self, v: isize)
Sets MarketDepth, Tag 264.
Sourcepub fn get_market_depth(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_market_depth(&self) -> Result<isize, MessageRejectErrorEnum>
Gets MarketDepth, Tag 264.
Sourcepub fn has_market_depth(&self) -> bool
pub fn has_market_depth(&self) -> bool
Returns true if MarketDepth is present, Tag 264.
Sourcepub fn set_no_md_entry_types(&mut self, v: isize)
pub fn set_no_md_entry_types(&mut self, v: isize)
Sets NoMDEntryTypes, Tag 267.
Sourcepub fn get_no_md_entry_types(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_no_md_entry_types(&self) -> Result<isize, MessageRejectErrorEnum>
Gets NoMDEntryTypes, Tag 267.
Sourcepub fn has_no_md_entry_types(&self) -> bool
pub fn has_no_md_entry_types(&self) -> bool
Returns true if NoMDEntryTypes is present, Tag 267.
Sets NoRelatedSym, Tag 146.
Gets NoRelatedSym, Tag 146.
Returns true if NoRelatedSym is present, Tag 146.
Sourcepub fn set_open_close_settl_flag(&mut self, v: String)
pub fn set_open_close_settl_flag(&mut self, v: String)
Sets OpenCloseSettlFlag, Tag 286.
Sourcepub fn get_open_close_settl_flag(
&self,
) -> Result<String, MessageRejectErrorEnum>
pub fn get_open_close_settl_flag( &self, ) -> Result<String, MessageRejectErrorEnum>
Gets OpenCloseSettlFlag, Tag 286.
Sourcepub fn has_open_close_settl_flag(&self) -> bool
pub fn has_open_close_settl_flag(&self) -> bool
Returns true if OpenCloseSettlFlag is present, Tag 286.
Sourcepub fn get_scope(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_scope(&self) -> Result<String, MessageRejectErrorEnum>
Gets Scope, Tag 546.
Sourcepub fn set_subscription_request_type(&mut self, v: String)
pub fn set_subscription_request_type(&mut self, v: String)
Sets SubscriptionRequestType, Tag 263.
Sourcepub fn get_subscription_request_type(
&self,
) -> Result<String, MessageRejectErrorEnum>
pub fn get_subscription_request_type( &self, ) -> Result<String, MessageRejectErrorEnum>
Gets SubscriptionRequestType, Tag 263.
Sourcepub fn has_subscription_request_type(&self) -> bool
pub fn has_subscription_request_type(&self) -> bool
Returns true if SubscriptionRequestType is present, Tag 263.