pub struct SecurityStatus {
pub message: Message,
}Expand description
SecurityStatus is the fix42 SecurityStatus type, MsgType = f.
Fields§
§message: MessageImplementations§
Source§impl SecurityStatus
impl SecurityStatus
Sourcepub fn new(symbol: SymbolField) -> Self
pub fn new(symbol: SymbolField) -> Self
Creates a new SecurityStatus with required fields.
Sourcepub fn from_message(msg: Message) -> Self
pub fn from_message(msg: Message) -> Self
Creates a SecurityStatus from an existing Message.
Sourcepub fn to_message(self) -> Message
pub fn to_message(self) -> Message
Returns the underlying Message.
Sourcepub fn set_adjustment(&mut self, v: isize)
pub fn set_adjustment(&mut self, v: isize)
Sets Adjustment, Tag 334.
Sourcepub fn get_adjustment(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_adjustment(&self) -> Result<isize, MessageRejectErrorEnum>
Gets Adjustment, Tag 334.
Sourcepub fn has_adjustment(&self) -> bool
pub fn has_adjustment(&self) -> bool
Returns true if Adjustment is present, Tag 334.
Sourcepub fn set_buy_volume(&mut self, val: Decimal, scale: i32)
pub fn set_buy_volume(&mut self, val: Decimal, scale: i32)
Sets BuyVolume, Tag 330.
Sourcepub fn get_buy_volume(&self) -> Result<Decimal, MessageRejectErrorEnum>
pub fn get_buy_volume(&self) -> Result<Decimal, MessageRejectErrorEnum>
Gets BuyVolume, Tag 330.
Sourcepub fn has_buy_volume(&self) -> bool
pub fn has_buy_volume(&self) -> bool
Returns true if BuyVolume is present, Tag 330.
Sourcepub fn set_contract_multiplier(&mut self, val: Decimal, scale: i32)
pub fn set_contract_multiplier(&mut self, val: Decimal, scale: i32)
Sets ContractMultiplier, Tag 231.
Sourcepub fn get_contract_multiplier(&self) -> Result<Decimal, MessageRejectErrorEnum>
pub fn get_contract_multiplier(&self) -> Result<Decimal, MessageRejectErrorEnum>
Gets ContractMultiplier, Tag 231.
Sourcepub fn has_contract_multiplier(&self) -> bool
pub fn has_contract_multiplier(&self) -> bool
Returns true if ContractMultiplier is present, Tag 231.
Sourcepub fn set_corporate_action(&mut self, v: String)
pub fn set_corporate_action(&mut self, v: String)
Sets CorporateAction, Tag 292.
Sourcepub fn get_corporate_action(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_corporate_action(&self) -> Result<String, MessageRejectErrorEnum>
Gets CorporateAction, Tag 292.
Sourcepub fn has_corporate_action(&self) -> bool
pub fn has_corporate_action(&self) -> bool
Returns true if CorporateAction is present, Tag 292.
Sourcepub fn set_coupon_rate(&mut self, val: Decimal, scale: i32)
pub fn set_coupon_rate(&mut self, val: Decimal, scale: i32)
Sets CouponRate, Tag 223.
Sourcepub fn get_coupon_rate(&self) -> Result<Decimal, MessageRejectErrorEnum>
pub fn get_coupon_rate(&self) -> Result<Decimal, MessageRejectErrorEnum>
Gets CouponRate, Tag 223.
Sourcepub fn has_coupon_rate(&self) -> bool
pub fn has_coupon_rate(&self) -> bool
Returns true if CouponRate is present, Tag 223.
Sourcepub fn set_currency(&mut self, v: String)
pub fn set_currency(&mut self, v: String)
Sets Currency, Tag 15.
Sourcepub fn get_currency(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_currency(&self) -> Result<String, MessageRejectErrorEnum>
Gets Currency, Tag 15.
Sourcepub fn has_currency(&self) -> bool
pub fn has_currency(&self) -> bool
Returns true if Currency is present, Tag 15.
Sets DueToRelated, Tag 329.
Gets DueToRelated, Tag 329.
Returns true if DueToRelated is present, Tag 329.
Sourcepub fn set_encoded_issuer(&mut self, v: String)
pub fn set_encoded_issuer(&mut self, v: String)
Sets EncodedIssuer, Tag 349.
Sourcepub fn get_encoded_issuer(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_encoded_issuer(&self) -> Result<String, MessageRejectErrorEnum>
Gets EncodedIssuer, Tag 349.
Sourcepub fn has_encoded_issuer(&self) -> bool
pub fn has_encoded_issuer(&self) -> bool
Returns true if EncodedIssuer is present, Tag 349.
Sourcepub fn set_encoded_issuer_len(&mut self, v: isize)
pub fn set_encoded_issuer_len(&mut self, v: isize)
Sets EncodedIssuerLen, Tag 348.
Sourcepub fn get_encoded_issuer_len(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_encoded_issuer_len(&self) -> Result<isize, MessageRejectErrorEnum>
Gets EncodedIssuerLen, Tag 348.
Sourcepub fn has_encoded_issuer_len(&self) -> bool
pub fn has_encoded_issuer_len(&self) -> bool
Returns true if EncodedIssuerLen is present, Tag 348.
Sourcepub fn set_encoded_security_desc(&mut self, v: String)
pub fn set_encoded_security_desc(&mut self, v: String)
Sets EncodedSecurityDesc, Tag 351.
Sourcepub fn get_encoded_security_desc(
&self,
) -> Result<String, MessageRejectErrorEnum>
pub fn get_encoded_security_desc( &self, ) -> Result<String, MessageRejectErrorEnum>
Gets EncodedSecurityDesc, Tag 351.
Sourcepub fn has_encoded_security_desc(&self) -> bool
pub fn has_encoded_security_desc(&self) -> bool
Returns true if EncodedSecurityDesc is present, Tag 351.
Sourcepub fn set_encoded_security_desc_len(&mut self, v: isize)
pub fn set_encoded_security_desc_len(&mut self, v: isize)
Sets EncodedSecurityDescLen, Tag 350.
Sourcepub fn get_encoded_security_desc_len(
&self,
) -> Result<isize, MessageRejectErrorEnum>
pub fn get_encoded_security_desc_len( &self, ) -> Result<isize, MessageRejectErrorEnum>
Gets EncodedSecurityDescLen, Tag 350.
Sourcepub fn has_encoded_security_desc_len(&self) -> bool
pub fn has_encoded_security_desc_len(&self) -> bool
Returns true if EncodedSecurityDescLen is present, Tag 350.
Sourcepub fn set_financial_status(&mut self, v: String)
pub fn set_financial_status(&mut self, v: String)
Sets FinancialStatus, Tag 291.
Sourcepub fn get_financial_status(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_financial_status(&self) -> Result<String, MessageRejectErrorEnum>
Gets FinancialStatus, Tag 291.
Sourcepub fn has_financial_status(&self) -> bool
pub fn has_financial_status(&self) -> bool
Returns true if FinancialStatus is present, Tag 291.
Sourcepub fn set_halt_reason_char(&mut self, v: String)
pub fn set_halt_reason_char(&mut self, v: String)
Sets HaltReasonChar, Tag 327.
Sourcepub fn get_halt_reason_char(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_halt_reason_char(&self) -> Result<String, MessageRejectErrorEnum>
Gets HaltReasonChar, Tag 327.
Sourcepub fn has_halt_reason_char(&self) -> bool
pub fn has_halt_reason_char(&self) -> bool
Returns true if HaltReasonChar is present, Tag 327.
Sourcepub fn set_high_px(&mut self, val: Decimal, scale: i32)
pub fn set_high_px(&mut self, val: Decimal, scale: i32)
Sets HighPx, Tag 332.
Sourcepub fn get_high_px(&self) -> Result<Decimal, MessageRejectErrorEnum>
pub fn get_high_px(&self) -> Result<Decimal, MessageRejectErrorEnum>
Gets HighPx, Tag 332.
Sourcepub fn has_high_px(&self) -> bool
pub fn has_high_px(&self) -> bool
Returns true if HighPx is present, Tag 332.
Sourcepub fn set_id_source(&mut self, v: String)
pub fn set_id_source(&mut self, v: String)
Sets IDSource, Tag 22.
Sourcepub fn get_id_source(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_id_source(&self) -> Result<String, MessageRejectErrorEnum>
Gets IDSource, Tag 22.
Sourcepub fn has_id_source(&self) -> bool
pub fn has_id_source(&self) -> bool
Returns true if IDSource is present, Tag 22.
Sourcepub fn set_in_view_of_common(&mut self, v: bool)
pub fn set_in_view_of_common(&mut self, v: bool)
Sets InViewOfCommon, Tag 328.
Sourcepub fn get_in_view_of_common(&self) -> Result<bool, MessageRejectErrorEnum>
pub fn get_in_view_of_common(&self) -> Result<bool, MessageRejectErrorEnum>
Gets InViewOfCommon, Tag 328.
Sourcepub fn has_in_view_of_common(&self) -> bool
pub fn has_in_view_of_common(&self) -> bool
Returns true if InViewOfCommon is present, Tag 328.
Sourcepub fn set_issuer(&mut self, v: String)
pub fn set_issuer(&mut self, v: String)
Sets Issuer, Tag 106.
Sourcepub fn get_issuer(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_issuer(&self) -> Result<String, MessageRejectErrorEnum>
Gets Issuer, Tag 106.
Sourcepub fn has_issuer(&self) -> bool
pub fn has_issuer(&self) -> bool
Returns true if Issuer is present, Tag 106.
Sourcepub fn set_last_px(&mut self, val: Decimal, scale: i32)
pub fn set_last_px(&mut self, val: Decimal, scale: i32)
Sets LastPx, Tag 31.
Sourcepub fn get_last_px(&self) -> Result<Decimal, MessageRejectErrorEnum>
pub fn get_last_px(&self) -> Result<Decimal, MessageRejectErrorEnum>
Gets LastPx, Tag 31.
Sourcepub fn has_last_px(&self) -> bool
pub fn has_last_px(&self) -> bool
Returns true if LastPx is present, Tag 31.
Sourcepub fn set_low_px(&mut self, val: Decimal, scale: i32)
pub fn set_low_px(&mut self, val: Decimal, scale: i32)
Sets LowPx, Tag 333.
Sourcepub fn get_low_px(&self) -> Result<Decimal, MessageRejectErrorEnum>
pub fn get_low_px(&self) -> Result<Decimal, MessageRejectErrorEnum>
Gets LowPx, Tag 333.
Sourcepub fn has_low_px(&self) -> bool
pub fn has_low_px(&self) -> bool
Returns true if LowPx is present, Tag 333.
Sourcepub fn set_maturity_day(&mut self, v: isize)
pub fn set_maturity_day(&mut self, v: isize)
Sets MaturityDay, Tag 205.
Sourcepub fn get_maturity_day(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_maturity_day(&self) -> Result<isize, MessageRejectErrorEnum>
Gets MaturityDay, Tag 205.
Sourcepub fn has_maturity_day(&self) -> bool
pub fn has_maturity_day(&self) -> bool
Returns true if MaturityDay is present, Tag 205.
Sourcepub fn set_maturity_month_year(&mut self, v: String)
pub fn set_maturity_month_year(&mut self, v: String)
Sets MaturityMonthYear, Tag 200.
Sourcepub fn get_maturity_month_year(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_maturity_month_year(&self) -> Result<String, MessageRejectErrorEnum>
Gets MaturityMonthYear, Tag 200.
Sourcepub fn has_maturity_month_year(&self) -> bool
pub fn has_maturity_month_year(&self) -> bool
Returns true if MaturityMonthYear is present, Tag 200.
Sourcepub fn set_opt_attribute(&mut self, v: String)
pub fn set_opt_attribute(&mut self, v: String)
Sets OptAttribute, Tag 206.
Sourcepub fn get_opt_attribute(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_opt_attribute(&self) -> Result<String, MessageRejectErrorEnum>
Gets OptAttribute, Tag 206.
Sourcepub fn has_opt_attribute(&self) -> bool
pub fn has_opt_attribute(&self) -> bool
Returns true if OptAttribute is present, Tag 206.
Sourcepub fn set_put_or_call(&mut self, v: isize)
pub fn set_put_or_call(&mut self, v: isize)
Sets PutOrCall, Tag 201.
Sourcepub fn get_put_or_call(&self) -> Result<isize, MessageRejectErrorEnum>
pub fn get_put_or_call(&self) -> Result<isize, MessageRejectErrorEnum>
Gets PutOrCall, Tag 201.
Sourcepub fn has_put_or_call(&self) -> bool
pub fn has_put_or_call(&self) -> bool
Returns true if PutOrCall is present, Tag 201.
Sourcepub fn set_security_desc(&mut self, v: String)
pub fn set_security_desc(&mut self, v: String)
Sets SecurityDesc, Tag 107.
Sourcepub fn get_security_desc(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_security_desc(&self) -> Result<String, MessageRejectErrorEnum>
Gets SecurityDesc, Tag 107.
Sourcepub fn has_security_desc(&self) -> bool
pub fn has_security_desc(&self) -> bool
Returns true if SecurityDesc is present, Tag 107.
Sourcepub fn set_security_exchange(&mut self, v: String)
pub fn set_security_exchange(&mut self, v: String)
Sets SecurityExchange, Tag 207.
Sourcepub fn get_security_exchange(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_security_exchange(&self) -> Result<String, MessageRejectErrorEnum>
Gets SecurityExchange, Tag 207.
Sourcepub fn has_security_exchange(&self) -> bool
pub fn has_security_exchange(&self) -> bool
Returns true if SecurityExchange is present, Tag 207.
Sourcepub fn set_security_id(&mut self, v: String)
pub fn set_security_id(&mut self, v: String)
Sets SecurityID, Tag 48.
Sourcepub fn get_security_id(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_security_id(&self) -> Result<String, MessageRejectErrorEnum>
Gets SecurityID, Tag 48.
Sourcepub fn has_security_id(&self) -> bool
pub fn has_security_id(&self) -> bool
Returns true if SecurityID is present, Tag 48.
Sourcepub fn set_security_status_req_id(&mut self, v: String)
pub fn set_security_status_req_id(&mut self, v: String)
Sets SecurityStatusReqID, Tag 324.
Sourcepub fn get_security_status_req_id(
&self,
) -> Result<String, MessageRejectErrorEnum>
pub fn get_security_status_req_id( &self, ) -> Result<String, MessageRejectErrorEnum>
Gets SecurityStatusReqID, Tag 324.
Sourcepub fn has_security_status_req_id(&self) -> bool
pub fn has_security_status_req_id(&self) -> bool
Returns true if SecurityStatusReqID is present, Tag 324.
Sourcepub fn set_security_trading_status(&mut self, v: isize)
pub fn set_security_trading_status(&mut self, v: isize)
Sets SecurityTradingStatus, Tag 326.
Sourcepub fn get_security_trading_status(
&self,
) -> Result<isize, MessageRejectErrorEnum>
pub fn get_security_trading_status( &self, ) -> Result<isize, MessageRejectErrorEnum>
Gets SecurityTradingStatus, Tag 326.
Sourcepub fn has_security_trading_status(&self) -> bool
pub fn has_security_trading_status(&self) -> bool
Returns true if SecurityTradingStatus is present, Tag 326.
Sourcepub fn set_security_type(&mut self, v: String)
pub fn set_security_type(&mut self, v: String)
Sets SecurityType, Tag 167.
Sourcepub fn get_security_type(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_security_type(&self) -> Result<String, MessageRejectErrorEnum>
Gets SecurityType, Tag 167.
Sourcepub fn has_security_type(&self) -> bool
pub fn has_security_type(&self) -> bool
Returns true if SecurityType is present, Tag 167.
Sourcepub fn set_sell_volume(&mut self, val: Decimal, scale: i32)
pub fn set_sell_volume(&mut self, val: Decimal, scale: i32)
Sets SellVolume, Tag 331.
Sourcepub fn get_sell_volume(&self) -> Result<Decimal, MessageRejectErrorEnum>
pub fn get_sell_volume(&self) -> Result<Decimal, MessageRejectErrorEnum>
Gets SellVolume, Tag 331.
Sourcepub fn has_sell_volume(&self) -> bool
pub fn has_sell_volume(&self) -> bool
Returns true if SellVolume is present, Tag 331.
Sourcepub fn set_strike_price(&mut self, val: Decimal, scale: i32)
pub fn set_strike_price(&mut self, val: Decimal, scale: i32)
Sets StrikePrice, Tag 202.
Sourcepub fn get_strike_price(&self) -> Result<Decimal, MessageRejectErrorEnum>
pub fn get_strike_price(&self) -> Result<Decimal, MessageRejectErrorEnum>
Gets StrikePrice, Tag 202.
Sourcepub fn has_strike_price(&self) -> bool
pub fn has_strike_price(&self) -> bool
Returns true if StrikePrice is present, Tag 202.
Sourcepub fn set_symbol(&mut self, v: String)
pub fn set_symbol(&mut self, v: String)
Sets Symbol, Tag 55.
Sourcepub fn get_symbol(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_symbol(&self) -> Result<String, MessageRejectErrorEnum>
Gets Symbol, Tag 55.
Sourcepub fn has_symbol(&self) -> bool
pub fn has_symbol(&self) -> bool
Returns true if Symbol is present, Tag 55.
Sourcepub fn set_symbol_sfx(&mut self, v: String)
pub fn set_symbol_sfx(&mut self, v: String)
Sets SymbolSfx, Tag 65.
Sourcepub fn get_symbol_sfx(&self) -> Result<String, MessageRejectErrorEnum>
pub fn get_symbol_sfx(&self) -> Result<String, MessageRejectErrorEnum>
Gets SymbolSfx, Tag 65.
Sourcepub fn has_symbol_sfx(&self) -> bool
pub fn has_symbol_sfx(&self) -> bool
Returns true if SymbolSfx is present, Tag 65.
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_transact_time(&mut self, v: Timestamp)
pub fn set_transact_time(&mut self, v: Timestamp)
Sets TransactTime, Tag 60.
Sourcepub fn get_transact_time(&self) -> Result<Timestamp, MessageRejectErrorEnum>
pub fn get_transact_time(&self) -> Result<Timestamp, MessageRejectErrorEnum>
Gets TransactTime, Tag 60.
Sourcepub fn has_transact_time(&self) -> bool
pub fn has_transact_time(&self) -> bool
Returns true if TransactTime is present, Tag 60.
Sourcepub fn set_unsolicited_indicator(&mut self, v: bool)
pub fn set_unsolicited_indicator(&mut self, v: bool)
Sets UnsolicitedIndicator, Tag 325.
Sourcepub fn get_unsolicited_indicator(&self) -> Result<bool, MessageRejectErrorEnum>
pub fn get_unsolicited_indicator(&self) -> Result<bool, MessageRejectErrorEnum>
Gets UnsolicitedIndicator, Tag 325.
Sourcepub fn has_unsolicited_indicator(&self) -> bool
pub fn has_unsolicited_indicator(&self) -> bool
Returns true if UnsolicitedIndicator is present, Tag 325.