pub struct AllocationInstruction {
Show 179 fields pub alloc_id: FixString, pub alloc_trans_type: AllocTransType, pub alloc_type: AllocType, pub secondary_alloc_id: Option<FixString>, pub ref_alloc_id: Option<FixString>, pub alloc_canc_replace_reason: Option<AllocCancReplaceReason>, pub alloc_intermed_req_type: Option<AllocIntermedReqType>, pub alloc_link_id: Option<FixString>, pub alloc_link_type: Option<AllocLinkType>, pub booking_ref_id: Option<FixString>, pub alloc_no_orders_type: Option<AllocNoOrdersType>, pub ord_alloc_grp: Option<Vec<OrdAllocGrp>>, pub exec_alloc_grp: Option<Vec<ExecAllocGrp>>, pub previously_reported: Option<bool>, pub reversal_indicator: Option<bool>, pub match_type: Option<MatchType>, pub side: Side, pub symbol: Option<FixString>, pub symbol_sfx: Option<SymbolSfx>, pub security_id: Option<FixString>, pub security_id_source: Option<SecurityIdSource>, pub sec_alt_id_grp: Option<Vec<SecAltIdGrp>>, pub product: Option<Product>, pub product_complex: Option<FixString>, pub security_group: Option<FixString>, pub cfi_code: Option<FixString>, pub security_type: Option<SecurityType>, pub security_sub_type: Option<FixString>, pub maturity_month_year: Option<Vec<u8>>, pub maturity_date: Option<NaiveDate>, pub maturity_time: Option<Vec<u8>>, pub settle_on_open_flag: Option<FixString>, pub instrmt_assignment_method: Option<InstrmtAssignmentMethod>, pub security_status: Option<SecurityStatus>, pub coupon_payment_date: Option<NaiveDate>, pub issue_date: Option<NaiveDate>, pub repo_collateral_security_type: Option<FixString>, pub repurchase_term: Option<i64>, pub repurchase_rate: Option<Decimal>, pub factor: Option<Decimal>, pub credit_rating: Option<FixString>, pub instr_registry: Option<FixString>, pub country_of_issue: Option<Country>, pub state_or_province_of_issue: Option<FixString>, pub locale_of_issue: Option<FixString>, pub redemption_date: Option<NaiveDate>, pub strike_price: Option<Decimal>, pub strike_currency: Option<Currency>, pub strike_multiplier: Option<Decimal>, pub strike_value: Option<Decimal>, pub opt_attribute: Option<u8>, pub contract_multiplier: Option<Decimal>, pub min_price_increment: Option<Decimal>, pub min_price_increment_amount: Option<Decimal>, pub unit_of_measure: Option<UnitOfMeasure>, pub unit_of_measure_qty: Option<Decimal>, pub price_unit_of_measure: Option<FixString>, pub price_unit_of_measure_qty: Option<Decimal>, pub settl_method: Option<SettlMethod>, pub exercise_style: Option<ExerciseStyle>, pub opt_payout_amount: Option<Decimal>, pub price_quote_method: Option<PriceQuoteMethod>, pub valuation_method: Option<ValuationMethod>, pub list_method: Option<ListMethod>, pub cap_price: Option<Decimal>, pub floor_price: Option<Decimal>, pub put_or_call: Option<PutOrCall>, pub flexible_indicator: Option<bool>, pub flex_product_eligibility_indicator: Option<bool>, pub time_unit: Option<TimeUnit>, pub coupon_rate: Option<Decimal>, pub security_exchange: Option<[u8; 4]>, pub position_limit: Option<i64>, pub nt_position_limit: Option<i64>, pub issuer: Option<FixString>, pub encoded_issuer: Option<Vec<u8>>, pub security_desc: Option<FixString>, pub encoded_security_desc: Option<Vec<u8>>, pub security_xml: Option<Vec<u8>>, pub security_xml_schema: Option<FixString>, pub pool: Option<FixString>, pub contract_settl_month: Option<Vec<u8>>, pub cp_program: Option<CpProgram>, pub cp_reg_type: Option<FixString>, pub evnt_grp: Option<Vec<EvntGrp>>, pub dated_date: Option<NaiveDate>, pub interest_accrual_date: Option<NaiveDate>, pub instrument_parties: Option<Vec<InstrumentParties>>, pub contract_multiplier_unit: Option<ContractMultiplierUnit>, pub flow_schedule_type: Option<FlowScheduleType>, pub restructuring_type: Option<RestructuringType>, pub seniority: Option<Seniority>, pub notional_percentage_outstanding: Option<Decimal>, pub original_notional_percentage_outstanding: Option<Decimal>, pub attachment_point: Option<Decimal>, pub detachment_point: Option<Decimal>, pub strike_price_determination_method: Option<StrikePriceDeterminationMethod>, pub strike_price_boundary_method: Option<StrikePriceBoundaryMethod>, pub strike_price_boundary_precision: Option<Decimal>, pub underlying_price_determination_method: Option<UnderlyingPriceDeterminationMethod>, pub opt_payout_type: Option<OptPayoutType>, pub complex_events: Option<Vec<ComplexEvents>>, pub delivery_form: Option<DeliveryForm>, pub pct_at_risk: Option<Decimal>, pub attrb_grp: Option<Vec<AttrbGrp>>, pub agreement_desc: Option<FixString>, pub agreement_id: Option<FixString>, pub agreement_date: Option<NaiveDate>, pub agreement_currency: Option<Currency>, pub termination_type: Option<TerminationType>, pub start_date: Option<NaiveDate>, pub end_date: Option<NaiveDate>, pub delivery_type: Option<DeliveryType>, pub margin_ratio: Option<Decimal>, pub und_instrmt_grp: Option<Vec<UndInstrmtGrp>>, pub instrmt_leg_grp: Option<Vec<InstrmtLegGrp>>, pub quantity: Decimal, pub qty_type: Option<QtyType>, pub last_mkt: Option<[u8; 4]>, pub trade_origination_date: Option<NaiveDate>, pub trading_session_id: Option<TradingSessionId>, pub trading_session_sub_id: Option<TradingSessionSubId>, pub price_type: Option<PriceType>, pub avg_px: Option<Decimal>, pub avg_par_px: Option<Decimal>, pub spread: Option<Decimal>, pub benchmark_curve_currency: Option<Currency>, pub benchmark_curve_name: Option<BenchmarkCurveName>, pub benchmark_curve_point: Option<FixString>, pub benchmark_price: Option<Decimal>, pub benchmark_price_type: Option<i64>, pub benchmark_security_id: Option<FixString>, pub benchmark_security_id_source: Option<FixString>, pub currency: Option<Currency>, pub avg_px_precision: Option<i64>, pub parties: Option<Vec<Parties>>, pub trade_date: NaiveDate, pub transact_time: Option<UtcTimestamp>, pub settl_type: Option<SettlType>, pub settl_date: Option<NaiveDate>, pub booking_type: Option<BookingType>, pub gross_trade_amt: Option<Decimal>, pub concession: Option<Decimal>, pub total_takedown: Option<Decimal>, pub net_money: Option<Decimal>, pub position_effect: Option<PositionEffect>, pub auto_accept_indicator: Option<bool>, pub text: Option<FixString>, pub encoded_text: Option<Vec<u8>>, pub num_days_interest: Option<i64>, pub accrued_interest_rate: Option<Decimal>, pub accrued_interest_amt: Option<Decimal>, pub total_accrued_interest_amt: Option<Decimal>, pub interest_at_maturity: Option<Decimal>, pub end_accrued_interest_amt: Option<Decimal>, pub start_cash: Option<Decimal>, pub end_cash: Option<Decimal>, pub legal_confirm: Option<bool>, pub stipulations: Option<Vec<Stipulations>>, pub yield_type: Option<YieldType>, pub yield_: Option<Decimal>, pub yield_calc_date: Option<NaiveDate>, pub yield_redemption_date: Option<NaiveDate>, pub yield_redemption_price: Option<Decimal>, pub yield_redemption_price_type: Option<i64>, pub position_amount_data: Option<Vec<PositionAmountData>>, pub tot_no_allocs: Option<i64>, pub last_fragment: Option<bool>, pub alloc_grp: Option<Vec<AllocGrp>>, pub avg_px_indicator: Option<AvgPxIndicator>, pub clearing_business_date: Option<NaiveDate>, pub trd_type: Option<TrdType>, pub trd_sub_type: Option<TrdSubType>, pub cust_order_capacity: Option<CustOrderCapacity>, pub trade_input_source: Option<FixString>, pub multi_leg_reporting_type: Option<MultiLegReportingType>, pub message_event_source: Option<FixString>, pub rnd_px: Option<Decimal>, pub rate_source: Option<Vec<RateSource>>,
}

Fields§

§alloc_id: FixString§alloc_trans_type: AllocTransType§alloc_type: AllocType§secondary_alloc_id: Option<FixString>§ref_alloc_id: Option<FixString>§alloc_canc_replace_reason: Option<AllocCancReplaceReason>§alloc_intermed_req_type: Option<AllocIntermedReqType>§alloc_link_id: Option<FixString>§alloc_link_type: Option<AllocLinkType>§booking_ref_id: Option<FixString>§alloc_no_orders_type: Option<AllocNoOrdersType>§ord_alloc_grp: Option<Vec<OrdAllocGrp>>§exec_alloc_grp: Option<Vec<ExecAllocGrp>>§previously_reported: Option<bool>§reversal_indicator: Option<bool>§match_type: Option<MatchType>§side: Side§symbol: Option<FixString>§symbol_sfx: Option<SymbolSfx>§security_id: Option<FixString>§security_id_source: Option<SecurityIdSource>§sec_alt_id_grp: Option<Vec<SecAltIdGrp>>§product: Option<Product>§product_complex: Option<FixString>§security_group: Option<FixString>§cfi_code: Option<FixString>§security_type: Option<SecurityType>§security_sub_type: Option<FixString>§maturity_month_year: Option<Vec<u8>>§maturity_date: Option<NaiveDate>§maturity_time: Option<Vec<u8>>§settle_on_open_flag: Option<FixString>§instrmt_assignment_method: Option<InstrmtAssignmentMethod>§security_status: Option<SecurityStatus>§coupon_payment_date: Option<NaiveDate>§issue_date: Option<NaiveDate>§repo_collateral_security_type: Option<FixString>§repurchase_term: Option<i64>§repurchase_rate: Option<Decimal>§factor: Option<Decimal>§credit_rating: Option<FixString>§instr_registry: Option<FixString>§country_of_issue: Option<Country>§state_or_province_of_issue: Option<FixString>§locale_of_issue: Option<FixString>§redemption_date: Option<NaiveDate>§strike_price: Option<Decimal>§strike_currency: Option<Currency>§strike_multiplier: Option<Decimal>§strike_value: Option<Decimal>§opt_attribute: Option<u8>§contract_multiplier: Option<Decimal>§min_price_increment: Option<Decimal>§min_price_increment_amount: Option<Decimal>§unit_of_measure: Option<UnitOfMeasure>§unit_of_measure_qty: Option<Decimal>§price_unit_of_measure: Option<FixString>§price_unit_of_measure_qty: Option<Decimal>§settl_method: Option<SettlMethod>§exercise_style: Option<ExerciseStyle>§opt_payout_amount: Option<Decimal>§price_quote_method: Option<PriceQuoteMethod>§valuation_method: Option<ValuationMethod>§list_method: Option<ListMethod>§cap_price: Option<Decimal>§floor_price: Option<Decimal>§put_or_call: Option<PutOrCall>§flexible_indicator: Option<bool>§flex_product_eligibility_indicator: Option<bool>§time_unit: Option<TimeUnit>§coupon_rate: Option<Decimal>§security_exchange: Option<[u8; 4]>§position_limit: Option<i64>§nt_position_limit: Option<i64>§issuer: Option<FixString>§encoded_issuer: Option<Vec<u8>>§security_desc: Option<FixString>§encoded_security_desc: Option<Vec<u8>>§security_xml: Option<Vec<u8>>§security_xml_schema: Option<FixString>§pool: Option<FixString>§contract_settl_month: Option<Vec<u8>>§cp_program: Option<CpProgram>§cp_reg_type: Option<FixString>§evnt_grp: Option<Vec<EvntGrp>>§dated_date: Option<NaiveDate>§interest_accrual_date: Option<NaiveDate>§instrument_parties: Option<Vec<InstrumentParties>>§contract_multiplier_unit: Option<ContractMultiplierUnit>§flow_schedule_type: Option<FlowScheduleType>§restructuring_type: Option<RestructuringType>§seniority: Option<Seniority>§notional_percentage_outstanding: Option<Decimal>§original_notional_percentage_outstanding: Option<Decimal>§attachment_point: Option<Decimal>§detachment_point: Option<Decimal>§strike_price_determination_method: Option<StrikePriceDeterminationMethod>§strike_price_boundary_method: Option<StrikePriceBoundaryMethod>§strike_price_boundary_precision: Option<Decimal>§underlying_price_determination_method: Option<UnderlyingPriceDeterminationMethod>§opt_payout_type: Option<OptPayoutType>§complex_events: Option<Vec<ComplexEvents>>§delivery_form: Option<DeliveryForm>§pct_at_risk: Option<Decimal>§attrb_grp: Option<Vec<AttrbGrp>>§agreement_desc: Option<FixString>§agreement_id: Option<FixString>§agreement_date: Option<NaiveDate>§agreement_currency: Option<Currency>§termination_type: Option<TerminationType>§start_date: Option<NaiveDate>§end_date: Option<NaiveDate>§delivery_type: Option<DeliveryType>§margin_ratio: Option<Decimal>§und_instrmt_grp: Option<Vec<UndInstrmtGrp>>§instrmt_leg_grp: Option<Vec<InstrmtLegGrp>>§quantity: Decimal§qty_type: Option<QtyType>§last_mkt: Option<[u8; 4]>§trade_origination_date: Option<NaiveDate>§trading_session_id: Option<TradingSessionId>§trading_session_sub_id: Option<TradingSessionSubId>§price_type: Option<PriceType>§avg_px: Option<Decimal>§avg_par_px: Option<Decimal>§spread: Option<Decimal>§benchmark_curve_currency: Option<Currency>§benchmark_curve_name: Option<BenchmarkCurveName>§benchmark_curve_point: Option<FixString>§benchmark_price: Option<Decimal>§benchmark_price_type: Option<i64>§benchmark_security_id: Option<FixString>§benchmark_security_id_source: Option<FixString>§currency: Option<Currency>§avg_px_precision: Option<i64>§parties: Option<Vec<Parties>>§trade_date: NaiveDate§transact_time: Option<UtcTimestamp>§settl_type: Option<SettlType>§settl_date: Option<NaiveDate>§booking_type: Option<BookingType>§gross_trade_amt: Option<Decimal>§concession: Option<Decimal>§total_takedown: Option<Decimal>§net_money: Option<Decimal>§position_effect: Option<PositionEffect>§auto_accept_indicator: Option<bool>§text: Option<FixString>§encoded_text: Option<Vec<u8>>§num_days_interest: Option<i64>§accrued_interest_rate: Option<Decimal>§accrued_interest_amt: Option<Decimal>§total_accrued_interest_amt: Option<Decimal>§interest_at_maturity: Option<Decimal>§end_accrued_interest_amt: Option<Decimal>§start_cash: Option<Decimal>§end_cash: Option<Decimal>§legal_confirm: Option<bool>§stipulations: Option<Vec<Stipulations>>§yield_type: Option<YieldType>§yield_: Option<Decimal>§yield_calc_date: Option<NaiveDate>§yield_redemption_date: Option<NaiveDate>§yield_redemption_price: Option<Decimal>§yield_redemption_price_type: Option<i64>§position_amount_data: Option<Vec<PositionAmountData>>§tot_no_allocs: Option<i64>§last_fragment: Option<bool>§alloc_grp: Option<Vec<AllocGrp>>§avg_px_indicator: Option<AvgPxIndicator>§clearing_business_date: Option<NaiveDate>§trd_type: Option<TrdType>§trd_sub_type: Option<TrdSubType>§cust_order_capacity: Option<CustOrderCapacity>§trade_input_source: Option<FixString>§multi_leg_reporting_type: Option<MultiLegReportingType>§message_event_source: Option<FixString>§rnd_px: Option<Decimal>§rate_source: Option<Vec<RateSource>>

Implementations§

source§

impl AllocationInstruction

source

pub const fn msg_type(&self) -> MsgType

source

pub const fn msg_cat(&self) -> MsgCat

Trait Implementations§

source§

impl Clone for AllocationInstruction

source§

fn clone(&self) -> AllocationInstruction

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 AllocationInstruction

source§

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

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

impl Default for AllocationInstruction

source§

fn default() -> AllocationInstruction

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

impl From<AllocationInstruction> for Message

source§

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

§

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

§

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

§

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