pub struct SecurityTypes {
pub message: Message,
}Expand description
SecurityTypes is the fix50sp2 SecurityTypes type, MsgType = w.
Fields§
§message: MessageImplementations§
Source§impl SecurityTypes
impl SecurityTypes
Sourcepub fn new(
security_req_id: SecurityReqIDField,
security_response_id: SecurityResponseIDField,
security_response_type: SecurityResponseTypeField,
) -> Self
pub fn new( security_req_id: SecurityReqIDField, security_response_id: SecurityResponseIDField, security_response_type: SecurityResponseTypeField, ) -> Self
Creates a new SecurityTypes with required fields.
Sourcepub fn from_message(msg: Message) -> Self
pub fn from_message(msg: Message) -> Self
Creates a SecurityTypes from an existing Message.
Sourcepub fn to_message(self) -> Message
pub fn to_message(self) -> Message
Returns the underlying Message.
Sourcepub fn set_appl_id(&mut self, v: String)
pub fn set_appl_id(&mut self, v: String)
Sets ApplID, Tag 1180.
Sourcepub fn get_appl_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_appl_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets ApplID, Tag 1180.
Sourcepub fn has_appl_id(&self) -> bool
pub fn has_appl_id(&self) -> bool
Returns true if ApplID is present, Tag 1180.
Sourcepub fn set_appl_last_seq_num(&mut self, v: isize)
pub fn set_appl_last_seq_num(&mut self, v: isize)
Sets ApplLastSeqNum, Tag 1350.
Sourcepub fn get_appl_last_seq_num(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_appl_last_seq_num(&self) -> Result<isize, MessageRejectErrorEnum>
Gets ApplLastSeqNum, Tag 1350.
Sourcepub fn has_appl_last_seq_num(&self) -> bool
pub fn has_appl_last_seq_num(&self) -> bool
Returns true if ApplLastSeqNum is present, Tag 1350.
Sourcepub fn set_appl_resend_flag(&mut self, v: bool)
pub fn set_appl_resend_flag(&mut self, v: bool)
Sets ApplResendFlag, Tag 1352.
Sourcepub fn get_appl_resend_flag(&self) -> Result<bool, MessageRejectErrorEnum>
pub fn get_appl_resend_flag(&self) -> Result<bool, MessageRejectErrorEnum>
Gets ApplResendFlag, Tag 1352.
Sourcepub fn has_appl_resend_flag(&self) -> bool
pub fn has_appl_resend_flag(&self) -> bool
Returns true if ApplResendFlag is present, Tag 1352.
Sourcepub fn set_appl_seq_num(&mut self, v: isize)
pub fn set_appl_seq_num(&mut self, v: isize)
Sets ApplSeqNum, Tag 1181.
Sourcepub fn get_appl_seq_num(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_appl_seq_num(&self) -> Result<isize, MessageRejectErrorEnum>
Gets ApplSeqNum, Tag 1181.
Sourcepub fn has_appl_seq_num(&self) -> bool
pub fn has_appl_seq_num(&self) -> bool
Returns true if ApplSeqNum is present, Tag 1181.
Sourcepub fn set_encoded_text(&mut self, v: String)
pub fn set_encoded_text(&mut self, v: String)
Sets EncodedText, Tag 355.
Sourcepub fn get_encoded_text(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_encoded_text(&self) -> Result<String, MessageRejectErrorEnum>
Gets EncodedText, Tag 355.
Sourcepub fn has_encoded_text(&self) -> bool
pub fn has_encoded_text(&self) -> bool
Returns true if EncodedText is present, Tag 355.
Sourcepub fn set_encoded_text_len(&mut self, v: isize)
pub fn set_encoded_text_len(&mut self, v: isize)
Sets EncodedTextLen, Tag 354.
Sourcepub fn get_encoded_text_len(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_encoded_text_len(&self) -> Result<isize, MessageRejectErrorEnum>
Gets EncodedTextLen, Tag 354.
Sourcepub fn has_encoded_text_len(&self) -> bool
pub fn has_encoded_text_len(&self) -> bool
Returns true if EncodedTextLen is present, Tag 354.
Sourcepub fn set_last_fragment(&mut self, v: bool)
pub fn set_last_fragment(&mut self, v: bool)
Sets LastFragment, Tag 893.
Sourcepub fn get_last_fragment(&self) -> Result<bool, MessageRejectErrorEnum>
pub fn get_last_fragment(&self) -> Result<bool, MessageRejectErrorEnum>
Gets LastFragment, Tag 893.
Sourcepub fn has_last_fragment(&self) -> bool
pub fn has_last_fragment(&self) -> bool
Returns true if LastFragment is present, Tag 893.
Sourcepub fn set_market_id(&mut self, v: String)
pub fn set_market_id(&mut self, v: String)
Sets MarketID, Tag 1301.
Sourcepub fn get_market_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_market_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets MarketID, Tag 1301.
Sourcepub fn has_market_id(&self) -> bool
pub fn has_market_id(&self) -> bool
Returns true if MarketID is present, Tag 1301.
Sourcepub fn set_market_segment_id(&mut self, v: String)
pub fn set_market_segment_id(&mut self, v: String)
Sets MarketSegmentID, Tag 1300.
Sourcepub fn get_market_segment_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_market_segment_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets MarketSegmentID, Tag 1300.
Sourcepub fn has_market_segment_id(&self) -> bool
pub fn has_market_segment_id(&self) -> bool
Returns true if MarketSegmentID is present, Tag 1300.
Sourcepub fn set_no_security_types(&mut self, v: isize)
pub fn set_no_security_types(&mut self, v: isize)
Sets NoSecurityTypes, Tag 558.
Sourcepub fn get_no_security_types(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_no_security_types(&self) -> Result<isize, MessageRejectErrorEnum>
Gets NoSecurityTypes, Tag 558.
Sourcepub fn has_no_security_types(&self) -> bool
pub fn has_no_security_types(&self) -> bool
Returns true if NoSecurityTypes is present, Tag 558.
Sourcepub fn set_security_req_id(&mut self, v: String)
pub fn set_security_req_id(&mut self, v: String)
Sets SecurityReqID, Tag 320.
Sourcepub fn get_security_req_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_security_req_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets SecurityReqID, Tag 320.
Sourcepub fn has_security_req_id(&self) -> bool
pub fn has_security_req_id(&self) -> bool
Returns true if SecurityReqID is present, Tag 320.
Sourcepub fn set_security_response_id(&mut self, v: String)
pub fn set_security_response_id(&mut self, v: String)
Sets SecurityResponseID, Tag 322.
Sourcepub fn get_security_response_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_security_response_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets SecurityResponseID, Tag 322.
Sourcepub fn has_security_response_id(&self) -> bool
pub fn has_security_response_id(&self) -> bool
Returns true if SecurityResponseID is present, Tag 322.
Sourcepub fn set_security_response_type(&mut self, v: isize)
pub fn set_security_response_type(&mut self, v: isize)
Sets SecurityResponseType, Tag 323.
Sourcepub fn get_security_response_type(
&self,
) -> Result<isize, MessageRejectErrorEnum>
pub fn get_security_response_type( &self, ) -> Result<isize, MessageRejectErrorEnum>
Gets SecurityResponseType, Tag 323.
Sourcepub fn has_security_response_type(&self) -> bool
pub fn has_security_response_type(&self) -> bool
Returns true if SecurityResponseType is present, Tag 323.
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.
Sourcepub fn get_text(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_text(&self) -> Result<String, MessageRejectErrorEnum>
Gets Text, Tag 58.
Sourcepub fn set_tot_no_security_types(&mut self, v: isize)
pub fn set_tot_no_security_types(&mut self, v: isize)
Sets TotNoSecurityTypes, Tag 557.
Sourcepub fn get_tot_no_security_types(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_tot_no_security_types(&self) -> Result<isize, MessageRejectErrorEnum>
Gets TotNoSecurityTypes, Tag 557.
Sourcepub fn has_tot_no_security_types(&self) -> bool
pub fn has_tot_no_security_types(&self) -> bool
Returns true if TotNoSecurityTypes is present, Tag 557.
Sourcepub fn set_trading_session_id(&mut self, v: String)
pub fn set_trading_session_id(&mut self, v: String)
Sets TradingSessionID, Tag 336.
Sourcepub fn get_trading_session_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_trading_session_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets TradingSessionID, Tag 336.
Sourcepub fn has_trading_session_id(&self) -> bool
pub fn has_trading_session_id(&self) -> bool
Returns true if TradingSessionID is present, Tag 336.
Sourcepub fn set_trading_session_sub_id(&mut self, v: String)
pub fn set_trading_session_sub_id(&mut self, v: String)
Sets TradingSessionSubID, Tag 625.
Sourcepub fn get_trading_session_sub_id(
&self,
) -> Result<String, MessageRejectErrorEnum>
pub fn get_trading_session_sub_id( &self, ) -> Result<String, MessageRejectErrorEnum>
Gets TradingSessionSubID, Tag 625.
Sourcepub fn has_trading_session_sub_id(&self) -> bool
pub fn has_trading_session_sub_id(&self) -> bool
Returns true if TradingSessionSubID is present, Tag 625.