Skip to main content

SecurityStatusRequest

Struct SecurityStatusRequest 

Source
pub struct SecurityStatusRequest(pub Message);
Expand description

SecurityStatusRequest (35=e).

Tuple Fields§

§0: Message

Implementations§

Source§

impl SecurityStatusRequest

Source

pub const MSG_TYPE: &'static str = "e"

Source

pub fn new( security_status_req_id: impl Into<String>, subscription_request_type: char, ) -> Self

Source

pub fn from_message(msg: Message) -> Result<Self, Message>

Wrap a generic message; fails unless 35=“e”.

Source

pub fn security_status_req_id(&self) -> Result<String, ConversionError>

Source

pub fn set_security_status_req_id(&mut self, v: impl Into<String>)

Source

pub fn has_security_status_req_id(&self) -> bool

Source

pub fn symbol(&self) -> Result<String, ConversionError>

Source

pub fn set_symbol(&mut self, v: impl Into<String>)

Source

pub fn has_symbol(&self) -> bool

Source

pub fn symbol_sfx(&self) -> Result<String, ConversionError>

Source

pub fn set_symbol_sfx(&mut self, v: impl Into<String>)

Source

pub fn has_symbol_sfx(&self) -> bool

Source

pub fn security_id(&self) -> Result<String, ConversionError>

Source

pub fn set_security_id(&mut self, v: impl Into<String>)

Source

pub fn has_security_id(&self) -> bool

Source

pub fn security_id_source(&self) -> Result<String, ConversionError>

Source

pub fn set_security_id_source(&mut self, v: impl Into<String>)

Source

pub fn has_security_id_source(&self) -> bool

Source

pub fn no_security_alt_id( &self, ) -> Result<Vec<NoSecurityAltID>, ConversionError>

Source

pub fn set_no_security_alt_id( &mut self, groups: impl IntoIterator<Item = NoSecurityAltID>, )

Source

pub fn product(&self) -> Result<i64, ConversionError>

Source

pub fn set_product(&mut self, v: i64)

Source

pub fn has_product(&self) -> bool

Source

pub fn cfi_code(&self) -> Result<String, ConversionError>

Source

pub fn set_cfi_code(&mut self, v: impl Into<String>)

Source

pub fn has_cfi_code(&self) -> bool

Source

pub fn security_type(&self) -> Result<String, ConversionError>

Source

pub fn set_security_type(&mut self, v: impl Into<String>)

Source

pub fn has_security_type(&self) -> bool

Source

pub fn security_sub_type(&self) -> Result<String, ConversionError>

Source

pub fn set_security_sub_type(&mut self, v: impl Into<String>)

Source

pub fn has_security_sub_type(&self) -> bool

Source

pub fn maturity_month_year(&self) -> Result<String, ConversionError>

Source

pub fn set_maturity_month_year(&mut self, v: impl Into<String>)

Source

pub fn has_maturity_month_year(&self) -> bool

Source

pub fn maturity_date(&self) -> Result<FixDate, ConversionError>

Source

pub fn set_maturity_date(&mut self, v: FixDate)

Source

pub fn has_maturity_date(&self) -> bool

Source

pub fn coupon_payment_date(&self) -> Result<FixDate, ConversionError>

Source

pub fn set_coupon_payment_date(&mut self, v: FixDate)

Source

pub fn has_coupon_payment_date(&self) -> bool

Source

pub fn issue_date(&self) -> Result<FixDate, ConversionError>

Source

pub fn set_issue_date(&mut self, v: FixDate)

Source

pub fn has_issue_date(&self) -> bool

Source

pub fn repo_collateral_security_type(&self) -> Result<i64, ConversionError>

Source

pub fn set_repo_collateral_security_type(&mut self, v: i64)

Source

pub fn has_repo_collateral_security_type(&self) -> bool

Source

pub fn repurchase_term(&self) -> Result<i64, ConversionError>

Source

pub fn set_repurchase_term(&mut self, v: i64)

Source

pub fn has_repurchase_term(&self) -> bool

Source

pub fn repurchase_rate(&self) -> Result<Amount, ConversionError>

Source

pub fn set_repurchase_rate(&mut self, v: Amount)

Source

pub fn has_repurchase_rate(&self) -> bool

Source

pub fn factor(&self) -> Result<Amount, ConversionError>

Source

pub fn set_factor(&mut self, v: Amount)

Source

pub fn has_factor(&self) -> bool

Source

pub fn credit_rating(&self) -> Result<String, ConversionError>

Source

pub fn set_credit_rating(&mut self, v: impl Into<String>)

Source

pub fn has_credit_rating(&self) -> bool

Source

pub fn instr_registry(&self) -> Result<String, ConversionError>

Source

pub fn set_instr_registry(&mut self, v: impl Into<String>)

Source

pub fn has_instr_registry(&self) -> bool

Source

pub fn country_of_issue(&self) -> Result<String, ConversionError>

Source

pub fn set_country_of_issue(&mut self, v: impl Into<String>)

Source

pub fn has_country_of_issue(&self) -> bool

Source

pub fn state_or_province_of_issue(&self) -> Result<String, ConversionError>

Source

pub fn set_state_or_province_of_issue(&mut self, v: impl Into<String>)

Source

pub fn has_state_or_province_of_issue(&self) -> bool

Source

pub fn locale_of_issue(&self) -> Result<String, ConversionError>

Source

pub fn set_locale_of_issue(&mut self, v: impl Into<String>)

Source

pub fn has_locale_of_issue(&self) -> bool

Source

pub fn redemption_date(&self) -> Result<FixDate, ConversionError>

Source

pub fn set_redemption_date(&mut self, v: FixDate)

Source

pub fn has_redemption_date(&self) -> bool

Source

pub fn strike_price(&self) -> Result<Amount, ConversionError>

Source

pub fn set_strike_price(&mut self, v: Amount)

Source

pub fn has_strike_price(&self) -> bool

Source

pub fn strike_currency(&self) -> Result<String, ConversionError>

Source

pub fn set_strike_currency(&mut self, v: impl Into<String>)

Source

pub fn has_strike_currency(&self) -> bool

Source

pub fn opt_attribute(&self) -> Result<char, ConversionError>

Source

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

Source

pub fn has_opt_attribute(&self) -> bool

Source

pub fn contract_multiplier(&self) -> Result<Amount, ConversionError>

Source

pub fn set_contract_multiplier(&mut self, v: Amount)

Source

pub fn has_contract_multiplier(&self) -> bool

Source

pub fn coupon_rate(&self) -> Result<Amount, ConversionError>

Source

pub fn set_coupon_rate(&mut self, v: Amount)

Source

pub fn has_coupon_rate(&self) -> bool

Source

pub fn security_exchange(&self) -> Result<String, ConversionError>

Source

pub fn set_security_exchange(&mut self, v: impl Into<String>)

Source

pub fn has_security_exchange(&self) -> bool

Source

pub fn issuer(&self) -> Result<String, ConversionError>

Source

pub fn set_issuer(&mut self, v: impl Into<String>)

Source

pub fn has_issuer(&self) -> bool

Source

pub fn encoded_issuer_len(&self) -> Result<i64, ConversionError>

Source

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

Source

pub fn has_encoded_issuer_len(&self) -> bool

Source

pub fn encoded_issuer(&self) -> Result<Vec<u8>, ConversionError>

Source

pub fn set_encoded_issuer(&mut self, v: impl Into<Vec<u8>>)

Source

pub fn has_encoded_issuer(&self) -> bool

Source

pub fn security_desc(&self) -> Result<String, ConversionError>

Source

pub fn set_security_desc(&mut self, v: impl Into<String>)

Source

pub fn has_security_desc(&self) -> bool

Source

pub fn encoded_security_desc_len(&self) -> Result<i64, ConversionError>

Source

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

Source

pub fn has_encoded_security_desc_len(&self) -> bool

Source

pub fn encoded_security_desc(&self) -> Result<Vec<u8>, ConversionError>

Source

pub fn set_encoded_security_desc(&mut self, v: impl Into<Vec<u8>>)

Source

pub fn has_encoded_security_desc(&self) -> bool

Source

pub fn pool(&self) -> Result<String, ConversionError>

Source

pub fn set_pool(&mut self, v: impl Into<String>)

Source

pub fn has_pool(&self) -> bool

Source

pub fn contract_settl_month(&self) -> Result<String, ConversionError>

Source

pub fn set_contract_settl_month(&mut self, v: impl Into<String>)

Source

pub fn has_contract_settl_month(&self) -> bool

Source

pub fn cp_program(&self) -> Result<i64, ConversionError>

Source

pub fn set_cp_program(&mut self, v: i64)

Source

pub fn has_cp_program(&self) -> bool

Source

pub fn cp_reg_type(&self) -> Result<String, ConversionError>

Source

pub fn set_cp_reg_type(&mut self, v: impl Into<String>)

Source

pub fn has_cp_reg_type(&self) -> bool

Source

pub fn no_events(&self) -> Result<Vec<NoEvents>, ConversionError>

Source

pub fn set_no_events(&mut self, groups: impl IntoIterator<Item = NoEvents>)

Source

pub fn dated_date(&self) -> Result<FixDate, ConversionError>

Source

pub fn set_dated_date(&mut self, v: FixDate)

Source

pub fn has_dated_date(&self) -> bool

Source

pub fn interest_accrual_date(&self) -> Result<FixDate, ConversionError>

Source

pub fn set_interest_accrual_date(&mut self, v: FixDate)

Source

pub fn has_interest_accrual_date(&self) -> bool

Source

pub fn delivery_form(&self) -> Result<i64, ConversionError>

Source

pub fn set_delivery_form(&mut self, v: i64)

Source

pub fn has_delivery_form(&self) -> bool

Source

pub fn pct_at_risk(&self) -> Result<Amount, ConversionError>

Source

pub fn set_pct_at_risk(&mut self, v: Amount)

Source

pub fn has_pct_at_risk(&self) -> bool

Source

pub fn no_instr_attrib(&self) -> Result<Vec<NoInstrAttrib>, ConversionError>

Source

pub fn set_no_instr_attrib( &mut self, groups: impl IntoIterator<Item = NoInstrAttrib>, )

Source

pub fn no_underlyings(&self) -> Result<Vec<NoUnderlyings>, ConversionError>

Source

pub fn set_no_underlyings( &mut self, groups: impl IntoIterator<Item = NoUnderlyings>, )

Source

pub fn no_legs(&self) -> Result<Vec<NoLegs>, ConversionError>

Source

pub fn set_no_legs(&mut self, groups: impl IntoIterator<Item = NoLegs>)

Source

pub fn currency(&self) -> Result<String, ConversionError>

Source

pub fn set_currency(&mut self, v: impl Into<String>)

Source

pub fn has_currency(&self) -> bool

Source

pub fn subscription_request_type(&self) -> Result<char, ConversionError>

Source

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

Source

pub fn has_subscription_request_type(&self) -> bool

Source

pub fn trading_session_id(&self) -> Result<String, ConversionError>

Source

pub fn set_trading_session_id(&mut self, v: impl Into<String>)

Source

pub fn has_trading_session_id(&self) -> bool

Source

pub fn trading_session_sub_id(&self) -> Result<String, ConversionError>

Source

pub fn set_trading_session_sub_id(&mut self, v: impl Into<String>)

Source

pub fn has_trading_session_sub_id(&self) -> bool

Methods from Deref<Target = Message>§

Source

pub fn msg_type(&self) -> Result<String>

Source

pub fn is_admin(&self) -> bool

Source

pub fn seq_num(&self) -> Result<u64>

Source

pub fn poss_dup(&self) -> bool

Source

pub fn structure_error(&self) -> Option<Tag>

First tag found out of section order during parse, if any.

Source

pub fn to_bytes(&self) -> Vec<u8>

Serialize, computing BodyLength(9) and CheckSum(10).

Header order matches the reference engines: 8, 9, 35, then remaining header fields in ascending tag order. Body keeps insertion (wire) order. Trailer: descending tag order (SignatureLength before Signature), CheckSum last.

Source

pub fn set_header(&mut self, tag: Tag, value: impl FixEncode)

Set a header field (helper).

Source

pub fn set(&mut self, tag: Tag, value: impl FixEncode)

Set a body field (helper).

Source

pub fn stamp_sending_time(&mut self, ts: UtcTimestamp)

Stamp SendingTime(52) with now at the given precision.

Trait Implementations§

Source§

impl Clone for SecurityStatusRequest

Source§

fn clone(&self) -> SecurityStatusRequest

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SecurityStatusRequest

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Deref for SecurityStatusRequest

Source§

type Target = Message

The resulting type after dereferencing.
Source§

fn deref(&self) -> &Message

Dereferences the value.
Source§

impl DerefMut for SecurityStatusRequest

Source§

fn deref_mut(&mut self) -> &mut Message

Mutably dereferences the value.
Source§

impl From<SecurityStatusRequest> for Message

Source§

fn from(m: SecurityStatusRequest) -> Message

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

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

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.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more