Struct Allocation

Source
pub struct Allocation { /* private fields */ }

Implementations§

Source§

impl Allocation

Source

pub const MSG_TYPE_BYTES: &'static str = "J"

Source

pub const MSG_TYPE: MsgType

Source

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

Source

pub fn header_mut(&mut self) -> HeaderMut<'_>

Source

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

Source

pub fn trailer_mut(&mut self) -> TrailerMut<'_>

Source

pub fn to_fix_string(&self) -> String

Convert inner message as FIX text.

This method is only here for debug / tests purposes. Do not use this in real production code.

Source§

impl Allocation

Source

pub fn try_new( alloc_id: AllocID, alloc_trans_type: AllocTransType, alloc_type: AllocType, side: Side, quantity: Quantity, avg_px: AvgPx, trade_date: TradeDate, ) -> Result<Self, QuickFixError>

Source§

impl Allocation

Source

pub fn get_alloc_id(&self) -> AllocID

Source

pub fn get_alloc_trans_type(&self) -> AllocTransType

Source

pub fn get_alloc_type(&self) -> AllocType

Source

pub fn get_ref_alloc_id(&self) -> Option<RefAllocID>

Source

pub fn get_booking_ref_id(&self) -> Option<BookingRefID>

Source

pub fn no_orders_len(&self) -> usize

Source

pub fn clone_group_no_orders(&self, index: usize) -> Option<NoOrders>

Source

pub fn iter_no_orders(&self) -> GroupIterator<'_, Self, NoOrders>

Source

pub fn no_execs_len(&self) -> usize

Source

pub fn clone_group_no_execs(&self, index: usize) -> Option<NoExecs>

Source

pub fn iter_no_execs(&self) -> GroupIterator<'_, Self, NoExecs>

Source

pub fn get_side(&self) -> Side

Source

pub fn get_symbol(&self) -> Option<Symbol>

Source

pub fn get_symbol_sfx(&self) -> Option<SymbolSfx>

Source

pub fn get_security_id(&self) -> Option<SecurityID>

Source

pub fn get_security_id_source(&self) -> Option<SecurityIDSource>

Source

pub fn no_security_alt_id_len(&self) -> usize

Source

pub fn clone_group_no_security_alt_id( &self, index: usize, ) -> Option<NoSecurityAltID>

Source

pub fn iter_no_security_alt_id( &self, ) -> GroupIterator<'_, Self, NoSecurityAltID>

Source

pub fn get_product(&self) -> Option<Product>

Source

pub fn get_cfi_code(&self) -> Option<CFICode>

Source

pub fn get_security_type(&self) -> Option<SecurityType>

Source

pub fn get_maturity_month_year(&self) -> Option<MaturityMonthYear>

Source

pub fn get_maturity_date(&self) -> Option<MaturityDate>

Source

pub fn get_coupon_payment_date(&self) -> Option<CouponPaymentDate>

Source

pub fn get_issue_date(&self) -> Option<IssueDate>

Source

pub fn get_repo_collateral_security_type( &self, ) -> Option<RepoCollateralSecurityType>

Source

pub fn get_repurchase_term(&self) -> Option<RepurchaseTerm>

Source

pub fn get_repurchase_rate(&self) -> Option<RepurchaseRate>

Source

pub fn get_factor(&self) -> Option<Factor>

Source

pub fn get_credit_rating(&self) -> Option<CreditRating>

Source

pub fn get_instr_registry(&self) -> Option<InstrRegistry>

Source

pub fn get_country_of_issue(&self) -> Option<CountryOfIssue>

Source

pub fn get_state_or_province_of_issue(&self) -> Option<StateOrProvinceOfIssue>

Source

pub fn get_locale_of_issue(&self) -> Option<LocaleOfIssue>

Source

pub fn get_redemption_date(&self) -> Option<RedemptionDate>

Source

pub fn get_strike_price(&self) -> Option<StrikePrice>

Source

pub fn get_opt_attribute(&self) -> Option<OptAttribute>

Source

pub fn get_contract_multiplier(&self) -> Option<ContractMultiplier>

Source

pub fn get_coupon_rate(&self) -> Option<CouponRate>

Source

pub fn get_security_exchange(&self) -> Option<SecurityExchange>

Source

pub fn get_issuer(&self) -> Option<Issuer>

Source

pub fn get_encoded_issuer_len(&self) -> Option<EncodedIssuerLen>

Source

pub fn get_encoded_issuer(&self) -> Option<EncodedIssuer>

Source

pub fn get_security_desc(&self) -> Option<SecurityDesc>

Source

pub fn get_encoded_security_desc_len(&self) -> Option<EncodedSecurityDescLen>

Source

pub fn get_encoded_security_desc(&self) -> Option<EncodedSecurityDesc>

Source

pub fn get_quantity(&self) -> Quantity

Source

pub fn get_last_mkt(&self) -> Option<LastMkt>

Source

pub fn get_trade_origination_date(&self) -> Option<TradeOriginationDate>

Source

pub fn get_trading_session_id(&self) -> Option<TradingSessionID>

Source

pub fn get_trading_session_sub_id(&self) -> Option<TradingSessionSubID>

Source

pub fn get_price_type(&self) -> Option<PriceType>

Source

pub fn get_avg_px(&self) -> AvgPx

Source

pub fn get_currency(&self) -> Option<Currency>

Source

pub fn get_avg_prx_precision(&self) -> Option<AvgPrxPrecision>

Source

pub fn no_party_i_ds_len(&self) -> usize

Source

pub fn clone_group_no_party_i_ds(&self, index: usize) -> Option<NoPartyIDs>

Source

pub fn iter_no_party_i_ds(&self) -> GroupIterator<'_, Self, NoPartyIDs>

Source

pub fn get_trade_date(&self) -> TradeDate

Source

pub fn get_transact_time(&self) -> Option<TransactTime>

Source

pub fn get_settlmnt_typ(&self) -> Option<SettlmntTyp>

Source

pub fn get_fut_sett_date(&self) -> Option<FutSettDate>

Source

pub fn get_gross_trade_amt(&self) -> Option<GrossTradeAmt>

Source

pub fn get_concession(&self) -> Option<Concession>

Source

pub fn get_total_takedown(&self) -> Option<TotalTakedown>

Source

pub fn get_net_money(&self) -> Option<NetMoney>

Source

pub fn get_position_effect(&self) -> Option<PositionEffect>

Source

pub fn get_text(&self) -> Option<Text>

Source

pub fn get_encoded_text_len(&self) -> Option<EncodedTextLen>

Source

pub fn get_encoded_text(&self) -> Option<EncodedText>

Source

pub fn get_num_days_interest(&self) -> Option<NumDaysInterest>

Source

pub fn get_accrued_interest_rate(&self) -> Option<AccruedInterestRate>

Source

pub fn get_total_accrued_interest_amt(&self) -> Option<TotalAccruedInterestAmt>

Source

pub fn no_allocs_len(&self) -> usize

Source

pub fn clone_group_no_allocs(&self, index: usize) -> Option<NoAllocs>

Source

pub fn iter_no_allocs(&self) -> GroupIterator<'_, Self, NoAllocs>

Source

pub fn set_alloc_id(&mut self, value: AllocID) -> Result<&Self, QuickFixError>

Source

pub fn set_alloc_trans_type( &mut self, value: AllocTransType, ) -> Result<&Self, QuickFixError>

Source

pub fn set_alloc_type( &mut self, value: AllocType, ) -> Result<&Self, QuickFixError>

Source

pub fn set_ref_alloc_id( &mut self, value: RefAllocID, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_ref_alloc_id(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_booking_ref_id( &mut self, value: BookingRefID, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_booking_ref_id(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn add_no_orders(&mut self, value: NoOrders) -> Result<&Self, QuickFixError>

Source

pub fn add_no_execs(&mut self, value: NoExecs) -> Result<&Self, QuickFixError>

Source

pub fn set_side(&mut self, value: Side) -> Result<&Self, QuickFixError>

Source

pub fn set_symbol(&mut self, value: Symbol) -> Result<&Self, QuickFixError>

Source

pub fn remove_symbol(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_symbol_sfx( &mut self, value: SymbolSfx, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_symbol_sfx(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_security_id( &mut self, value: SecurityID, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_security_id(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_security_id_source( &mut self, value: SecurityIDSource, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_security_id_source(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn add_no_security_alt_id( &mut self, value: NoSecurityAltID, ) -> Result<&Self, QuickFixError>

Source

pub fn set_product(&mut self, value: Product) -> Result<&Self, QuickFixError>

Source

pub fn remove_product(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_cfi_code(&mut self, value: CFICode) -> Result<&Self, QuickFixError>

Source

pub fn remove_cfi_code(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_security_type( &mut self, value: SecurityType, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_security_type(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_maturity_month_year( &mut self, value: MaturityMonthYear, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_maturity_month_year(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_maturity_date( &mut self, value: MaturityDate, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_maturity_date(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_coupon_payment_date( &mut self, value: CouponPaymentDate, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_coupon_payment_date(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_issue_date( &mut self, value: IssueDate, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_issue_date(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_repo_collateral_security_type( &mut self, value: RepoCollateralSecurityType, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_repo_collateral_security_type( &mut self, ) -> Result<&Self, QuickFixError>

Source

pub fn set_repurchase_term( &mut self, value: RepurchaseTerm, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_repurchase_term(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_repurchase_rate( &mut self, value: RepurchaseRate, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_repurchase_rate(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_factor(&mut self, value: Factor) -> Result<&Self, QuickFixError>

Source

pub fn remove_factor(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_credit_rating( &mut self, value: CreditRating, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_credit_rating(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_instr_registry( &mut self, value: InstrRegistry, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_instr_registry(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_country_of_issue( &mut self, value: CountryOfIssue, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_country_of_issue(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_state_or_province_of_issue( &mut self, value: StateOrProvinceOfIssue, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_state_or_province_of_issue( &mut self, ) -> Result<&Self, QuickFixError>

Source

pub fn set_locale_of_issue( &mut self, value: LocaleOfIssue, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_locale_of_issue(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_redemption_date( &mut self, value: RedemptionDate, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_redemption_date(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_strike_price( &mut self, value: StrikePrice, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_strike_price(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_opt_attribute( &mut self, value: OptAttribute, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_opt_attribute(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_contract_multiplier( &mut self, value: ContractMultiplier, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_contract_multiplier(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_coupon_rate( &mut self, value: CouponRate, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_coupon_rate(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_security_exchange( &mut self, value: SecurityExchange, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_security_exchange(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_issuer(&mut self, value: Issuer) -> Result<&Self, QuickFixError>

Source

pub fn remove_issuer(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_encoded_issuer_len( &mut self, value: EncodedIssuerLen, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_encoded_issuer_len(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_encoded_issuer( &mut self, value: EncodedIssuer, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_encoded_issuer(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_security_desc( &mut self, value: SecurityDesc, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_security_desc(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_encoded_security_desc_len( &mut self, value: EncodedSecurityDescLen, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_encoded_security_desc_len( &mut self, ) -> Result<&Self, QuickFixError>

Source

pub fn set_encoded_security_desc( &mut self, value: EncodedSecurityDesc, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_encoded_security_desc(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_quantity(&mut self, value: Quantity) -> Result<&Self, QuickFixError>

Source

pub fn set_last_mkt(&mut self, value: LastMkt) -> Result<&Self, QuickFixError>

Source

pub fn remove_last_mkt(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_trade_origination_date( &mut self, value: TradeOriginationDate, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_trade_origination_date(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_trading_session_id( &mut self, value: TradingSessionID, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_trading_session_id(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_trading_session_sub_id( &mut self, value: TradingSessionSubID, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_trading_session_sub_id(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_price_type( &mut self, value: PriceType, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_price_type(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_avg_px(&mut self, value: AvgPx) -> Result<&Self, QuickFixError>

Source

pub fn set_currency(&mut self, value: Currency) -> Result<&Self, QuickFixError>

Source

pub fn remove_currency(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_avg_prx_precision( &mut self, value: AvgPrxPrecision, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_avg_prx_precision(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn add_no_party_i_ds( &mut self, value: NoPartyIDs, ) -> Result<&Self, QuickFixError>

Source

pub fn set_trade_date( &mut self, value: TradeDate, ) -> Result<&Self, QuickFixError>

Source

pub fn set_transact_time( &mut self, value: TransactTime, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_transact_time(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_settlmnt_typ( &mut self, value: SettlmntTyp, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_settlmnt_typ(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_fut_sett_date( &mut self, value: FutSettDate, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_fut_sett_date(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_gross_trade_amt( &mut self, value: GrossTradeAmt, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_gross_trade_amt(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_concession( &mut self, value: Concession, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_concession(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_total_takedown( &mut self, value: TotalTakedown, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_total_takedown(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_net_money(&mut self, value: NetMoney) -> Result<&Self, QuickFixError>

Source

pub fn remove_net_money(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_position_effect( &mut self, value: PositionEffect, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_position_effect(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_text(&mut self, value: Text) -> Result<&Self, QuickFixError>

Source

pub fn remove_text(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_encoded_text_len( &mut self, value: EncodedTextLen, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_encoded_text_len(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_encoded_text( &mut self, value: EncodedText, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_encoded_text(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_num_days_interest( &mut self, value: NumDaysInterest, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_num_days_interest(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_accrued_interest_rate( &mut self, value: AccruedInterestRate, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_accrued_interest_rate(&mut self) -> Result<&Self, QuickFixError>

Source

pub fn set_total_accrued_interest_amt( &mut self, value: TotalAccruedInterestAmt, ) -> Result<&Self, QuickFixError>

Source

pub fn remove_total_accrued_interest_amt( &mut self, ) -> Result<&Self, QuickFixError>

Source

pub fn add_no_allocs(&mut self, value: NoAllocs) -> Result<&Self, QuickFixError>

Trait Implementations§

Source§

impl Clone for Allocation

Source§

fn clone(&self) -> Allocation

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 Allocation

Source§

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

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

impl From<Allocation> for Message

Source§

fn from(input: Allocation) -> Self

Converts to this type from the input type.
Source§

impl From<Message> for Allocation

Source§

fn from(input: Message) -> Self

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