Skip to main content

IOI

Struct IOI 

Source
pub struct IOI(/* private fields */);
Expand description

The IOI (35=6) message.

Implementations§

Source§

impl IOI

Source

pub const MSG_TYPE: &[u8] = b"6"

Source

pub const KNOWN_TAGS: KnownTags<'static>

Source

pub fn from_raw(raw: RawMessage) -> Self

Source

pub fn raw(&self) -> &RawMessage

Source

pub fn header(&self) -> Header<'_>

Source

pub fn trailer(&self) -> Trailer<'_>

Source

pub fn io_iid(&self) -> Result<Option<&str>, InvalidValue>

The IOIid (23) field.

Source

pub fn ioi_trans_type(&self) -> Result<Option<IOITransType<'_>>, InvalidValue>

The IOITransType (28) field.

Source

pub fn ioi_ref_id(&self) -> Result<Option<&str>, InvalidValue>

The IOIRefID (26) field.

Source

pub fn symbol(&self) -> Result<Option<&str>, InvalidValue>

The Symbol (55) field.

Source

pub fn symbol_sfx(&self) -> Result<Option<&str>, InvalidValue>

The SymbolSfx (65) field.

Source

pub fn security_id(&self) -> Result<Option<&str>, InvalidValue>

The SecurityID (48) field.

Source

pub fn id_source(&self) -> Result<Option<IDSource<'_>>, InvalidValue>

The IDSource (22) field.

Source

pub fn security_type(&self) -> Result<Option<SecurityType<'_>>, InvalidValue>

The SecurityType (167) field.

Source

pub fn maturity_month_year(&self) -> Result<Option<MonthYear>, InvalidValue>

The MaturityMonthYear (200) field.

Source

pub fn maturity_day(&self) -> Result<Option<i64>, InvalidValue>

The MaturityDay (205) field.

Source

pub fn put_or_call(&self) -> Result<Option<PutOrCall>, InvalidValue>

The PutOrCall (201) field.

Source

pub fn strike_price(&self) -> Result<Option<Decimal>, InvalidValue>

The StrikePrice (202) field.

Source

pub fn opt_attribute(&self) -> Result<Option<&str>, InvalidValue>

The OptAttribute (206) field.

Source

pub fn contract_multiplier(&self) -> Result<Option<Decimal>, InvalidValue>

The ContractMultiplier (231) field.

Source

pub fn coupon_rate(&self) -> Result<Option<Decimal>, InvalidValue>

The CouponRate (223) field.

Source

pub fn security_exchange(&self) -> Result<Option<&str>, InvalidValue>

The SecurityExchange (207) field.

Source

pub fn issuer(&self) -> Result<Option<&str>, InvalidValue>

The Issuer (106) field.

Source

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

The EncodedIssuerLen (348) field.

Source

pub fn encoded_issuer(&self) -> Option<&[u8]>

The EncodedIssuer (349) field.

Source

pub fn security_desc(&self) -> Result<Option<&str>, InvalidValue>

The SecurityDesc (107) field.

Source

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

The EncodedSecurityDescLen (350) field.

Source

pub fn encoded_security_desc(&self) -> Option<&[u8]>

The EncodedSecurityDesc (351) field.

Source

pub fn side(&self) -> Result<Option<Side<'_>>, InvalidValue>

The Side (54) field.

Source

pub fn ioi_shares(&self) -> Result<Option<IOIShares<'_>>, InvalidValue>

The IOIShares (27) field.

Source

pub fn price(&self) -> Result<Option<Decimal>, InvalidValue>

The Price (44) field.

Source

pub fn currency(&self) -> Result<Option<&str>, InvalidValue>

The Currency (15) field.

Source

pub fn valid_until_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>

The ValidUntilTime (62) field.

Source

pub fn ioi_qlty_ind(&self) -> Result<Option<IOIQltyInd<'_>>, InvalidValue>

The IOIQltyInd (25) field.

Source

pub fn ioi_natural_flag(&self) -> Result<Option<bool>, InvalidValue>

The IOINaturalFlag (130) field.

Source

pub fn ioi_qualifiers( &self, ) -> Result<Instances<'_, Instance<'_>>, InvalidValue>

The instances of the NoIOIQualifiers (199) group.

Source

pub fn text(&self) -> Result<Option<&str>, InvalidValue>

The Text (58) field.

Source

pub fn encoded_text_len(&self) -> Result<Option<i64>, InvalidValue>

The EncodedTextLen (354) field.

Source

pub fn encoded_text(&self) -> Option<&[u8]>

The EncodedText (355) field.

Source

pub fn transact_time(&self) -> Result<Option<UtcTimestamp>, InvalidValue>

The TransactTime (60) field.

The URLLink (149) field.

Source

pub fn routing_ids(&self) -> Result<Instances<'_, Instance<'_>>, InvalidValue>

The instances of the NoRoutingIDs (215) group.

Source

pub fn spread_to_benchmark(&self) -> Result<Option<Decimal>, InvalidValue>

The SpreadToBenchmark (218) field.

Source

pub fn benchmark(&self) -> Result<Option<Benchmark<'_>>, InvalidValue>

The Benchmark (219) field.

Trait Implementations§

Source§

impl Debug for IOI

Source§

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

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

impl Display for IOI

Source§

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

Formats the value using the given formatter. Read more

Auto Trait Implementations§

§

impl !Freeze for IOI

§

impl Forget for IOI

§

impl Move for IOI

§

impl RefUnwindSafe for IOI

§

impl Send for IOI

§

impl Sync for IOI

§

impl Unpin for IOI

§

impl UnsafeUnpin for IOI

§

impl UnwindSafe for IOI

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> ToString for T
where T: Display + ?Sized,

Source§

fn to_string(&self) -> String

Converts the given value to a String. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

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.