pub struct SecurityDefinition(/* private fields */);Expand description
The SecurityDefinition (35=d) message.
Implementations§
Source§impl SecurityDefinition
impl SecurityDefinition
pub const MSG_TYPE: &[u8] = b"d"
pub fn from_raw(raw: RawMessage) -> Self
pub fn raw(&self) -> &RawMessage
pub fn header(&self) -> Header<'_>
pub fn trailer(&self) -> Trailer<'_>
Sourcepub fn security_req_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn security_req_id(&self) -> Result<Option<&str>, InvalidValue>
The SecurityReqID (320) field.
Sourcepub fn security_response_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn security_response_id(&self) -> Result<Option<&str>, InvalidValue>
The SecurityResponseID (322) field.
Sourcepub fn security_response_type(
&self,
) -> Result<Option<SecurityResponseType>, InvalidValue>
pub fn security_response_type( &self, ) -> Result<Option<SecurityResponseType>, InvalidValue>
The SecurityResponseType (323) field.
Sourcepub fn instrument(&self) -> Instrument<'_>
pub fn instrument(&self) -> Instrument<'_>
The Instrument component.
Sourcepub fn instrument_extension(&self) -> InstrumentExtension<'_>
pub fn instrument_extension(&self) -> InstrumentExtension<'_>
The InstrumentExtension component.
Sourcepub fn underlyings(
&self,
) -> Result<Instances<'_, UndInstrmtGrp<'_>>, InvalidValue>
pub fn underlyings( &self, ) -> Result<Instances<'_, UndInstrmtGrp<'_>>, InvalidValue>
The instances of the NoUnderlyings (711) group.
Sourcepub fn trading_session_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn trading_session_id(&self) -> Result<Option<&str>, InvalidValue>
The TradingSessionID (336) field.
Sourcepub fn trading_session_sub_id(&self) -> Result<Option<&str>, InvalidValue>
pub fn trading_session_sub_id(&self) -> Result<Option<&str>, InvalidValue>
The TradingSessionSubID (625) field.
Sourcepub fn encoded_text_len(&self) -> Result<Option<i64>, InvalidValue>
pub fn encoded_text_len(&self) -> Result<Option<i64>, InvalidValue>
The EncodedTextLen (354) field.
Sourcepub fn encoded_text(&self) -> Option<&[u8]>
pub fn encoded_text(&self) -> Option<&[u8]>
The EncodedText (355) field.
Sourcepub fn legs(&self) -> Result<Instances<'_, InstrmtLegGrp<'_>>, InvalidValue>
pub fn legs(&self) -> Result<Instances<'_, InstrmtLegGrp<'_>>, InvalidValue>
The instances of the NoLegs (555) group.
Sourcepub fn expiration_cycle(&self) -> Result<Option<ExpirationCycle>, InvalidValue>
pub fn expiration_cycle(&self) -> Result<Option<ExpirationCycle>, InvalidValue>
The ExpirationCycle (827) field.
Sourcepub fn min_trade_vol(&self) -> Result<Option<Decimal>, InvalidValue>
pub fn min_trade_vol(&self) -> Result<Option<Decimal>, InvalidValue>
The MinTradeVol (562) field.
Trait Implementations§
Source§impl Debug for SecurityDefinition
impl Debug for SecurityDefinition
Auto Trait Implementations§
impl !Freeze for SecurityDefinition
impl Forget for SecurityDefinition
impl Move for SecurityDefinition
impl RefUnwindSafe for SecurityDefinition
impl Send for SecurityDefinition
impl Sync for SecurityDefinition
impl Unpin for SecurityDefinition
impl UnsafeUnpin for SecurityDefinitionwhere
*const u8: UnsafeUnpin,
Align8<*mut ()>: UnsafeUnpin,
&'static Vtable: UnsafeUnpin,
*const u8 is !null: UnsafeUnpin,
PhantomData<RawField>: UnsafeUnpin,
impl UnwindSafe for SecurityDefinitionwhere
*const u8: UnwindSafe,
Align8<*mut ()>: UnwindSafe,
&'static Vtable: UnwindSafe,
RawVecInner: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more