Struct MarketDefinition

Source
pub struct MarketDefinition {
Show 34 fields pub appl_id: Option<FixString>, pub appl_seq_num: Option<SeqNum>, pub appl_last_seq_num: Option<SeqNum>, pub appl_resend_flag: Option<Boolean>, pub market_report_id: FixString, pub market_req_id: Option<FixString>, pub market_id: Exchange, pub market_segment_id: Option<FixString>, pub market_segment_desc: Option<FixString>, pub encoded_mkt_segm_desc: Option<Data>, pub parent_mkt_segm_id: Option<FixString>, pub currency: Option<Currency>, pub tick_rules: Option<Vec<TickRules>>, pub lot_type_rules: Option<Vec<LotTypeRules>>, pub price_limit_type: Option<PriceLimitType>, pub low_limit_price: Option<Price>, pub high_limit_price: Option<Price>, pub trading_reference_price: Option<Price>, pub expiration_cycle: Option<ExpirationCycle>, pub min_trade_vol: Option<Qty>, pub max_trade_vol: Option<Qty>, pub max_price_variation: Option<Float>, pub implied_market_indicator: Option<ImpliedMarketIndicator>, pub trading_currency: Option<Currency>, pub round_lot: Option<Qty>, pub multileg_model: Option<MultilegModel>, pub multileg_price_method: Option<MultilegPriceMethod>, pub price_type: Option<PriceType>, pub ord_type_rules: Option<Vec<OrdTypeRules>>, pub time_in_force_rules: Option<Vec<TimeInForceRules>>, pub exec_inst_rules: Option<Vec<ExecInstRules>>, pub transact_time: Option<UtcTimestamp>, pub text: Option<FixString>, pub encoded_text: Option<Data>,
}

Fields§

§appl_id: Option<FixString>

Tag 1180.

§appl_seq_num: Option<SeqNum>

Tag 1181.

§appl_last_seq_num: Option<SeqNum>

Tag 1350.

§appl_resend_flag: Option<Boolean>

Tag 1352.

§market_report_id: FixString

Tag 1394.

§market_req_id: Option<FixString>

Tag 1393.

§market_id: Exchange

Tag 1301.

§market_segment_id: Option<FixString>

Tag 1300.

§market_segment_desc: Option<FixString>

Tag 1396.

§encoded_mkt_segm_desc: Option<Data>

Tag 1398.

§parent_mkt_segm_id: Option<FixString>

Tag 1325.

§currency: Option<Currency>

Tag 15.

§tick_rules: Option<Vec<TickRules>>

Tag 1205.

§lot_type_rules: Option<Vec<LotTypeRules>>

Tag 1234.

§price_limit_type: Option<PriceLimitType>

Tag 1306.

§low_limit_price: Option<Price>

Tag 1148.

§high_limit_price: Option<Price>

Tag 1149.

§trading_reference_price: Option<Price>

Tag 1150.

§expiration_cycle: Option<ExpirationCycle>

Tag 827.

§min_trade_vol: Option<Qty>

Tag 562.

§max_trade_vol: Option<Qty>

Tag 1140.

§max_price_variation: Option<Float>

Tag 1143.

§implied_market_indicator: Option<ImpliedMarketIndicator>

Tag 1144.

§trading_currency: Option<Currency>

Tag 1245.

§round_lot: Option<Qty>

Tag 561.

§multileg_model: Option<MultilegModel>

Tag 1377.

§multileg_price_method: Option<MultilegPriceMethod>

Tag 1378.

§price_type: Option<PriceType>

Tag 423.

§ord_type_rules: Option<Vec<OrdTypeRules>>

Tag 1237.

§time_in_force_rules: Option<Vec<TimeInForceRules>>

Tag 1239.

§exec_inst_rules: Option<Vec<ExecInstRules>>

Tag 1232.

§transact_time: Option<UtcTimestamp>

Tag 60.

§text: Option<FixString>

Tag 58.

§encoded_text: Option<Data>

Tag 355.

Implementations§

Source§

impl MarketDefinition

Source

pub const fn msg_type(&self) -> MsgType

Source

pub const fn msg_cat(&self) -> MsgCat

Trait Implementations§

Source§

impl Clone for MarketDefinition

Source§

fn clone(&self) -> MarketDefinition

Returns a copy of the value. Read more
1.0.0 · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for MarketDefinition

Source§

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

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

impl Default for MarketDefinition

Source§

fn default() -> MarketDefinition

Returns the “default value” for a type. Read more
Source§

impl From<MarketDefinition> for Message

Source§

fn from(msg: MarketDefinition) -> 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<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