pub struct Allocation { /* private fields */ }
Implementations§
Source§impl Allocation
impl Allocation
pub const MSG_TYPE_BYTES: &'static str = "J"
pub const MSG_TYPE: MsgType
pub fn header(&mut self) -> Header<'_>
pub fn header_mut(&mut self) -> HeaderMut<'_>
pub fn trailer(&mut self) -> Trailer<'_>
pub fn trailer_mut(&mut self) -> TrailerMut<'_>
Sourcepub fn to_fix_string(&self) -> String
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
impl Allocation
Source§impl Allocation
impl Allocation
pub fn get_alloc_id(&self) -> AllocID
pub fn get_alloc_trans_type(&self) -> AllocTransType
pub fn get_ref_alloc_id(&self) -> Option<RefAllocID>
pub fn get_alloc_link_id(&self) -> Option<AllocLinkID>
pub fn get_alloc_link_type(&self) -> Option<AllocLinkType>
pub fn no_orders_len(&self) -> usize
pub fn clone_group_no_orders(&self, index: usize) -> Option<NoOrders>
pub fn iter_no_orders(&self) -> GroupIterator<'_, Self, NoOrders> ⓘ
pub fn no_execs_len(&self) -> usize
pub fn clone_group_no_execs(&self, index: usize) -> Option<NoExecs>
pub fn iter_no_execs(&self) -> GroupIterator<'_, Self, NoExecs> ⓘ
pub fn get_side(&self) -> Side
pub fn get_symbol(&self) -> Symbol
pub fn get_symbol_sfx(&self) -> Option<SymbolSfx>
pub fn get_security_id(&self) -> Option<SecurityID>
pub fn get_id_source(&self) -> Option<IDSource>
pub fn get_security_type(&self) -> Option<SecurityType>
pub fn get_maturity_month_year(&self) -> Option<MaturityMonthYear>
pub fn get_maturity_day(&self) -> Option<MaturityDay>
pub fn get_put_or_call(&self) -> Option<PutOrCall>
pub fn get_strike_price(&self) -> Option<StrikePrice>
pub fn get_opt_attribute(&self) -> Option<OptAttribute>
pub fn get_contract_multiplier(&self) -> Option<ContractMultiplier>
pub fn get_coupon_rate(&self) -> Option<CouponRate>
pub fn get_security_exchange(&self) -> Option<SecurityExchange>
pub fn get_issuer(&self) -> Option<Issuer>
pub fn get_encoded_issuer_len(&self) -> Option<EncodedIssuerLen>
pub fn get_encoded_issuer(&self) -> Option<EncodedIssuer>
pub fn get_security_desc(&self) -> Option<SecurityDesc>
pub fn get_encoded_security_desc_len(&self) -> Option<EncodedSecurityDescLen>
pub fn get_encoded_security_desc(&self) -> Option<EncodedSecurityDesc>
pub fn get_last_mkt(&self) -> Option<LastMkt>
pub fn get_trading_session_id(&self) -> Option<TradingSessionID>
pub fn get_avg_px(&self) -> AvgPx
pub fn get_currency(&self) -> Option<Currency>
pub fn get_avg_prx_precision(&self) -> Option<AvgPrxPrecision>
pub fn get_trade_date(&self) -> TradeDate
pub fn get_transact_time(&self) -> Option<TransactTime>
pub fn get_settlmnt_typ(&self) -> Option<SettlmntTyp>
pub fn get_fut_sett_date(&self) -> Option<FutSettDate>
pub fn get_gross_trade_amt(&self) -> Option<GrossTradeAmt>
pub fn get_net_money(&self) -> Option<NetMoney>
pub fn get_open_close(&self) -> Option<OpenClose>
pub fn get_text(&self) -> Option<Text>
pub fn get_encoded_text_len(&self) -> Option<EncodedTextLen>
pub fn get_encoded_text(&self) -> Option<EncodedText>
pub fn get_num_days_interest(&self) -> Option<NumDaysInterest>
pub fn get_accrued_interest_rate(&self) -> Option<AccruedInterestRate>
pub fn no_allocs_len(&self) -> usize
pub fn clone_group_no_allocs(&self, index: usize) -> Option<NoAllocs>
pub fn iter_no_allocs(&self) -> GroupIterator<'_, Self, NoAllocs> ⓘ
pub fn set_alloc_id(&mut self, value: AllocID) -> Result<&Self, QuickFixError>
pub fn set_alloc_trans_type( &mut self, value: AllocTransType, ) -> Result<&Self, QuickFixError>
pub fn set_ref_alloc_id( &mut self, value: RefAllocID, ) -> Result<&Self, QuickFixError>
pub fn remove_ref_alloc_id(&mut self) -> Result<&Self, QuickFixError>
pub fn set_alloc_link_id( &mut self, value: AllocLinkID, ) -> Result<&Self, QuickFixError>
pub fn remove_alloc_link_id(&mut self) -> Result<&Self, QuickFixError>
pub fn set_alloc_link_type( &mut self, value: AllocLinkType, ) -> Result<&Self, QuickFixError>
pub fn remove_alloc_link_type(&mut self) -> Result<&Self, QuickFixError>
pub fn add_no_orders(&mut self, value: NoOrders) -> Result<&Self, QuickFixError>
pub fn add_no_execs(&mut self, value: NoExecs) -> Result<&Self, QuickFixError>
pub fn set_side(&mut self, value: Side) -> Result<&Self, QuickFixError>
pub fn set_symbol(&mut self, value: Symbol) -> Result<&Self, QuickFixError>
pub fn set_symbol_sfx( &mut self, value: SymbolSfx, ) -> Result<&Self, QuickFixError>
pub fn remove_symbol_sfx(&mut self) -> Result<&Self, QuickFixError>
pub fn set_security_id( &mut self, value: SecurityID, ) -> Result<&Self, QuickFixError>
pub fn remove_security_id(&mut self) -> Result<&Self, QuickFixError>
pub fn set_id_source(&mut self, value: IDSource) -> Result<&Self, QuickFixError>
pub fn remove_id_source(&mut self) -> Result<&Self, QuickFixError>
pub fn set_security_type( &mut self, value: SecurityType, ) -> Result<&Self, QuickFixError>
pub fn remove_security_type(&mut self) -> Result<&Self, QuickFixError>
pub fn set_maturity_month_year( &mut self, value: MaturityMonthYear, ) -> Result<&Self, QuickFixError>
pub fn remove_maturity_month_year(&mut self) -> Result<&Self, QuickFixError>
pub fn set_maturity_day( &mut self, value: MaturityDay, ) -> Result<&Self, QuickFixError>
pub fn remove_maturity_day(&mut self) -> Result<&Self, QuickFixError>
pub fn set_put_or_call( &mut self, value: PutOrCall, ) -> Result<&Self, QuickFixError>
pub fn remove_put_or_call(&mut self) -> Result<&Self, QuickFixError>
pub fn set_strike_price( &mut self, value: StrikePrice, ) -> Result<&Self, QuickFixError>
pub fn remove_strike_price(&mut self) -> Result<&Self, QuickFixError>
pub fn set_opt_attribute( &mut self, value: OptAttribute, ) -> Result<&Self, QuickFixError>
pub fn remove_opt_attribute(&mut self) -> Result<&Self, QuickFixError>
pub fn set_contract_multiplier( &mut self, value: ContractMultiplier, ) -> Result<&Self, QuickFixError>
pub fn remove_contract_multiplier(&mut self) -> Result<&Self, QuickFixError>
pub fn set_coupon_rate( &mut self, value: CouponRate, ) -> Result<&Self, QuickFixError>
pub fn remove_coupon_rate(&mut self) -> Result<&Self, QuickFixError>
pub fn set_security_exchange( &mut self, value: SecurityExchange, ) -> Result<&Self, QuickFixError>
pub fn remove_security_exchange(&mut self) -> Result<&Self, QuickFixError>
pub fn set_issuer(&mut self, value: Issuer) -> Result<&Self, QuickFixError>
pub fn remove_issuer(&mut self) -> Result<&Self, QuickFixError>
pub fn set_encoded_issuer_len( &mut self, value: EncodedIssuerLen, ) -> Result<&Self, QuickFixError>
pub fn remove_encoded_issuer_len(&mut self) -> Result<&Self, QuickFixError>
pub fn set_encoded_issuer( &mut self, value: EncodedIssuer, ) -> Result<&Self, QuickFixError>
pub fn remove_encoded_issuer(&mut self) -> Result<&Self, QuickFixError>
pub fn set_security_desc( &mut self, value: SecurityDesc, ) -> Result<&Self, QuickFixError>
pub fn remove_security_desc(&mut self) -> Result<&Self, QuickFixError>
pub fn set_encoded_security_desc_len( &mut self, value: EncodedSecurityDescLen, ) -> Result<&Self, QuickFixError>
pub fn remove_encoded_security_desc_len( &mut self, ) -> Result<&Self, QuickFixError>
pub fn set_encoded_security_desc( &mut self, value: EncodedSecurityDesc, ) -> Result<&Self, QuickFixError>
pub fn remove_encoded_security_desc(&mut self) -> Result<&Self, QuickFixError>
pub fn set_last_mkt(&mut self, value: LastMkt) -> Result<&Self, QuickFixError>
pub fn remove_last_mkt(&mut self) -> Result<&Self, QuickFixError>
pub fn set_trading_session_id( &mut self, value: TradingSessionID, ) -> Result<&Self, QuickFixError>
pub fn remove_trading_session_id(&mut self) -> Result<&Self, QuickFixError>
pub fn set_avg_px(&mut self, value: AvgPx) -> Result<&Self, QuickFixError>
pub fn set_currency(&mut self, value: Currency) -> Result<&Self, QuickFixError>
pub fn remove_currency(&mut self) -> Result<&Self, QuickFixError>
pub fn set_avg_prx_precision( &mut self, value: AvgPrxPrecision, ) -> Result<&Self, QuickFixError>
pub fn remove_avg_prx_precision(&mut self) -> Result<&Self, QuickFixError>
pub fn set_trade_date( &mut self, value: TradeDate, ) -> Result<&Self, QuickFixError>
pub fn set_transact_time( &mut self, value: TransactTime, ) -> Result<&Self, QuickFixError>
pub fn remove_transact_time(&mut self) -> Result<&Self, QuickFixError>
pub fn set_settlmnt_typ( &mut self, value: SettlmntTyp, ) -> Result<&Self, QuickFixError>
pub fn remove_settlmnt_typ(&mut self) -> Result<&Self, QuickFixError>
pub fn set_fut_sett_date( &mut self, value: FutSettDate, ) -> Result<&Self, QuickFixError>
pub fn remove_fut_sett_date(&mut self) -> Result<&Self, QuickFixError>
pub fn set_gross_trade_amt( &mut self, value: GrossTradeAmt, ) -> Result<&Self, QuickFixError>
pub fn remove_gross_trade_amt(&mut self) -> Result<&Self, QuickFixError>
pub fn set_net_money(&mut self, value: NetMoney) -> Result<&Self, QuickFixError>
pub fn remove_net_money(&mut self) -> Result<&Self, QuickFixError>
pub fn set_open_close( &mut self, value: OpenClose, ) -> Result<&Self, QuickFixError>
pub fn remove_open_close(&mut self) -> Result<&Self, QuickFixError>
pub fn set_text(&mut self, value: Text) -> Result<&Self, QuickFixError>
pub fn remove_text(&mut self) -> Result<&Self, QuickFixError>
pub fn set_encoded_text_len( &mut self, value: EncodedTextLen, ) -> Result<&Self, QuickFixError>
pub fn remove_encoded_text_len(&mut self) -> Result<&Self, QuickFixError>
pub fn set_encoded_text( &mut self, value: EncodedText, ) -> Result<&Self, QuickFixError>
pub fn remove_encoded_text(&mut self) -> Result<&Self, QuickFixError>
pub fn set_num_days_interest( &mut self, value: NumDaysInterest, ) -> Result<&Self, QuickFixError>
pub fn remove_num_days_interest(&mut self) -> Result<&Self, QuickFixError>
pub fn set_accrued_interest_rate( &mut self, value: AccruedInterestRate, ) -> Result<&Self, QuickFixError>
pub fn remove_accrued_interest_rate(&mut self) -> Result<&Self, QuickFixError>
pub fn add_no_allocs(&mut self, value: NoAllocs) -> Result<&Self, QuickFixError>
Trait Implementations§
Source§impl Clone for Allocation
impl Clone for Allocation
Source§fn clone(&self) -> Allocation
fn clone(&self) -> Allocation
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for Allocation
impl Debug for Allocation
Source§impl From<Allocation> for Message
impl From<Allocation> for Message
Source§fn from(input: Allocation) -> Self
fn from(input: Allocation) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Allocation
impl RefUnwindSafe for Allocation
impl !Send for Allocation
impl !Sync for Allocation
impl Unpin for Allocation
impl UnwindSafe for Allocation
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