Skip to main content

SecurityStatusRequest

Struct SecurityStatusRequest 

Source
pub struct SecurityStatusRequest {
    pub message: Message,
}
Expand description

SecurityStatusRequest is the fix42 SecurityStatusRequest type, MsgType = e.

Fields§

§message: Message

Implementations§

Source§

impl SecurityStatusRequest

Source

pub fn new( security_status_req_id: SecurityStatusReqIDField, symbol: SymbolField, subscription_request_type: SubscriptionRequestTypeField, ) -> Self

Creates a new SecurityStatusRequest with required fields.

Source

pub fn from_message(msg: Message) -> Self

Creates a SecurityStatusRequest from an existing Message.

Source

pub fn to_message(self) -> Message

Returns the underlying Message.

Source

pub fn set_contract_multiplier(&mut self, val: Decimal, scale: i32)

Sets ContractMultiplier, Tag 231.

Source

pub fn get_contract_multiplier(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets ContractMultiplier, Tag 231.

Source

pub fn has_contract_multiplier(&self) -> bool

Returns true if ContractMultiplier is present, Tag 231.

Source

pub fn set_coupon_rate(&mut self, val: Decimal, scale: i32)

Sets CouponRate, Tag 223.

Source

pub fn get_coupon_rate(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets CouponRate, Tag 223.

Source

pub fn has_coupon_rate(&self) -> bool

Returns true if CouponRate is present, Tag 223.

Source

pub fn set_currency(&mut self, v: String)

Sets Currency, Tag 15.

Source

pub fn get_currency(&self) -> Result<String, MessageRejectErrorEnum>

Gets Currency, Tag 15.

Source

pub fn has_currency(&self) -> bool

Returns true if Currency is present, Tag 15.

Source

pub fn set_encoded_issuer(&mut self, v: String)

Sets EncodedIssuer, Tag 349.

Source

pub fn get_encoded_issuer(&self) -> Result<String, MessageRejectErrorEnum>

Gets EncodedIssuer, Tag 349.

Source

pub fn has_encoded_issuer(&self) -> bool

Returns true if EncodedIssuer is present, Tag 349.

Source

pub fn set_encoded_issuer_len(&mut self, v: isize)

Sets EncodedIssuerLen, Tag 348.

Source

pub fn get_encoded_issuer_len(&self) -> Result<isize, MessageRejectErrorEnum>

Gets EncodedIssuerLen, Tag 348.

Source

pub fn has_encoded_issuer_len(&self) -> bool

Returns true if EncodedIssuerLen is present, Tag 348.

Source

pub fn set_encoded_security_desc(&mut self, v: String)

Sets EncodedSecurityDesc, Tag 351.

Source

pub fn get_encoded_security_desc( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets EncodedSecurityDesc, Tag 351.

Source

pub fn has_encoded_security_desc(&self) -> bool

Returns true if EncodedSecurityDesc is present, Tag 351.

Source

pub fn set_encoded_security_desc_len(&mut self, v: isize)

Sets EncodedSecurityDescLen, Tag 350.

Source

pub fn get_encoded_security_desc_len( &self, ) -> Result<isize, MessageRejectErrorEnum>

Gets EncodedSecurityDescLen, Tag 350.

Source

pub fn has_encoded_security_desc_len(&self) -> bool

Returns true if EncodedSecurityDescLen is present, Tag 350.

Source

pub fn set_id_source(&mut self, v: String)

Sets IDSource, Tag 22.

Source

pub fn get_id_source(&self) -> Result<String, MessageRejectErrorEnum>

Gets IDSource, Tag 22.

Source

pub fn has_id_source(&self) -> bool

Returns true if IDSource is present, Tag 22.

Source

pub fn set_issuer(&mut self, v: String)

Sets Issuer, Tag 106.

Source

pub fn get_issuer(&self) -> Result<String, MessageRejectErrorEnum>

Gets Issuer, Tag 106.

Source

pub fn has_issuer(&self) -> bool

Returns true if Issuer is present, Tag 106.

Source

pub fn set_maturity_day(&mut self, v: isize)

Sets MaturityDay, Tag 205.

Source

pub fn get_maturity_day(&self) -> Result<isize, MessageRejectErrorEnum>

Gets MaturityDay, Tag 205.

Source

pub fn has_maturity_day(&self) -> bool

Returns true if MaturityDay is present, Tag 205.

Source

pub fn set_maturity_month_year(&mut self, v: String)

Sets MaturityMonthYear, Tag 200.

Source

pub fn get_maturity_month_year(&self) -> Result<String, MessageRejectErrorEnum>

Gets MaturityMonthYear, Tag 200.

Source

pub fn has_maturity_month_year(&self) -> bool

Returns true if MaturityMonthYear is present, Tag 200.

Source

pub fn set_opt_attribute(&mut self, v: String)

Sets OptAttribute, Tag 206.

Source

pub fn get_opt_attribute(&self) -> Result<String, MessageRejectErrorEnum>

Gets OptAttribute, Tag 206.

Source

pub fn has_opt_attribute(&self) -> bool

Returns true if OptAttribute is present, Tag 206.

Source

pub fn set_put_or_call(&mut self, v: isize)

Sets PutOrCall, Tag 201.

Source

pub fn get_put_or_call(&self) -> Result<isize, MessageRejectErrorEnum>

Gets PutOrCall, Tag 201.

Source

pub fn has_put_or_call(&self) -> bool

Returns true if PutOrCall is present, Tag 201.

Source

pub fn set_security_desc(&mut self, v: String)

Sets SecurityDesc, Tag 107.

Source

pub fn get_security_desc(&self) -> Result<String, MessageRejectErrorEnum>

Gets SecurityDesc, Tag 107.

Source

pub fn has_security_desc(&self) -> bool

Returns true if SecurityDesc is present, Tag 107.

Source

pub fn set_security_exchange(&mut self, v: String)

Sets SecurityExchange, Tag 207.

Source

pub fn get_security_exchange(&self) -> Result<String, MessageRejectErrorEnum>

Gets SecurityExchange, Tag 207.

Source

pub fn has_security_exchange(&self) -> bool

Returns true if SecurityExchange is present, Tag 207.

Source

pub fn set_security_id(&mut self, v: String)

Sets SecurityID, Tag 48.

Source

pub fn get_security_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets SecurityID, Tag 48.

Source

pub fn has_security_id(&self) -> bool

Returns true if SecurityID is present, Tag 48.

Source

pub fn set_security_status_req_id(&mut self, v: String)

Sets SecurityStatusReqID, Tag 324.

Source

pub fn get_security_status_req_id( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets SecurityStatusReqID, Tag 324.

Source

pub fn has_security_status_req_id(&self) -> bool

Returns true if SecurityStatusReqID is present, Tag 324.

Source

pub fn set_security_type(&mut self, v: String)

Sets SecurityType, Tag 167.

Source

pub fn get_security_type(&self) -> Result<String, MessageRejectErrorEnum>

Gets SecurityType, Tag 167.

Source

pub fn has_security_type(&self) -> bool

Returns true if SecurityType is present, Tag 167.

Source

pub fn set_strike_price(&mut self, val: Decimal, scale: i32)

Sets StrikePrice, Tag 202.

Source

pub fn get_strike_price(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets StrikePrice, Tag 202.

Source

pub fn has_strike_price(&self) -> bool

Returns true if StrikePrice is present, Tag 202.

Source

pub fn set_subscription_request_type(&mut self, v: String)

Sets SubscriptionRequestType, Tag 263.

Source

pub fn get_subscription_request_type( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets SubscriptionRequestType, Tag 263.

Source

pub fn has_subscription_request_type(&self) -> bool

Returns true if SubscriptionRequestType is present, Tag 263.

Source

pub fn set_symbol(&mut self, v: String)

Sets Symbol, Tag 55.

Source

pub fn get_symbol(&self) -> Result<String, MessageRejectErrorEnum>

Gets Symbol, Tag 55.

Source

pub fn has_symbol(&self) -> bool

Returns true if Symbol is present, Tag 55.

Source

pub fn set_symbol_sfx(&mut self, v: String)

Sets SymbolSfx, Tag 65.

Source

pub fn get_symbol_sfx(&self) -> Result<String, MessageRejectErrorEnum>

Gets SymbolSfx, Tag 65.

Source

pub fn has_symbol_sfx(&self) -> bool

Returns true if SymbolSfx is present, Tag 65.

Source

pub fn set_trading_session_id(&mut self, v: String)

Sets TradingSessionID, Tag 336.

Source

pub fn get_trading_session_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets TradingSessionID, Tag 336.

Source

pub fn has_trading_session_id(&self) -> bool

Returns true if TradingSessionID is present, Tag 336.

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