pub struct IOI { /* private fields */ }
Implementations§
Source§impl IOI
impl IOI
pub const MSG_TYPE_BYTES: &'static str = "6"
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 IOI
impl IOI
pub fn try_new( io_iid: IOIid, ioi_trans_type: IOITransType, side: Side, ioi_qty: IOIQty, ) -> Result<Self, QuickFixError>
Source§impl IOI
impl IOI
pub fn get_io_iid(&self) -> IOIid
pub fn get_ioi_trans_type(&self) -> IOITransType
pub fn get_ioi_ref_id(&self) -> Option<IOIRefID>
pub fn get_symbol(&self) -> Option<Symbol>
pub fn get_symbol_sfx(&self) -> Option<SymbolSfx>
pub fn get_security_id(&self) -> Option<SecurityID>
pub fn get_security_id_source(&self) -> Option<SecurityIDSource>
pub fn no_security_alt_id_len(&self) -> usize
pub fn clone_group_no_security_alt_id( &self, index: usize, ) -> Option<NoSecurityAltID>
pub fn iter_no_security_alt_id( &self, ) -> GroupIterator<'_, Self, NoSecurityAltID> ⓘ
pub fn get_product(&self) -> Option<Product>
pub fn get_cfi_code(&self) -> Option<CFICode>
pub fn get_security_type(&self) -> Option<SecurityType>
pub fn get_maturity_month_year(&self) -> Option<MaturityMonthYear>
pub fn get_maturity_date(&self) -> Option<MaturityDate>
pub fn get_coupon_payment_date(&self) -> Option<CouponPaymentDate>
pub fn get_issue_date(&self) -> Option<IssueDate>
pub fn get_repo_collateral_security_type( &self, ) -> Option<RepoCollateralSecurityType>
pub fn get_repurchase_term(&self) -> Option<RepurchaseTerm>
pub fn get_repurchase_rate(&self) -> Option<RepurchaseRate>
pub fn get_factor(&self) -> Option<Factor>
pub fn get_credit_rating(&self) -> Option<CreditRating>
pub fn get_instr_registry(&self) -> Option<InstrRegistry>
pub fn get_country_of_issue(&self) -> Option<CountryOfIssue>
pub fn get_state_or_province_of_issue(&self) -> Option<StateOrProvinceOfIssue>
pub fn get_locale_of_issue(&self) -> Option<LocaleOfIssue>
pub fn get_redemption_date(&self) -> Option<RedemptionDate>
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_side(&self) -> Side
pub fn get_quantity_type(&self) -> Option<QuantityType>
pub fn get_ioi_qty(&self) -> IOIQty
pub fn get_price_type(&self) -> Option<PriceType>
pub fn get_price(&self) -> Option<Price>
pub fn get_currency(&self) -> Option<Currency>
pub fn get_valid_until_time(&self) -> Option<ValidUntilTime>
pub fn get_ioi_qlty_ind(&self) -> Option<IOIQltyInd>
pub fn get_ioi_natural_flag(&self) -> Option<IOINaturalFlag>
pub fn no_ioi_qualifiers_len(&self) -> usize
pub fn clone_group_no_ioi_qualifiers( &self, index: usize, ) -> Option<NoIOIQualifiers>
pub fn iter_no_ioi_qualifiers(&self) -> GroupIterator<'_, Self, NoIOIQualifiers> ⓘ
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_transact_time(&self) -> Option<TransactTime>
pub fn get_url_link(&self) -> Option<URLLink>
pub fn no_routing_i_ds_len(&self) -> usize
pub fn clone_group_no_routing_i_ds(&self, index: usize) -> Option<NoRoutingIDs>
pub fn iter_no_routing_i_ds(&self) -> GroupIterator<'_, Self, NoRoutingIDs> ⓘ
pub fn get_spread(&self) -> Option<Spread>
pub fn get_benchmark_curve_currency(&self) -> Option<BenchmarkCurveCurrency>
pub fn get_benchmark_curve_name(&self) -> Option<BenchmarkCurveName>
pub fn get_benchmark_curve_point(&self) -> Option<BenchmarkCurvePoint>
pub fn get_benchmark(&self) -> Option<Benchmark>
pub fn set_io_iid(&mut self, value: IOIid) -> Result<&Self, QuickFixError>
pub fn set_ioi_trans_type( &mut self, value: IOITransType, ) -> Result<&Self, QuickFixError>
pub fn set_ioi_ref_id( &mut self, value: IOIRefID, ) -> Result<&Self, QuickFixError>
pub fn remove_ioi_ref_id(&mut self) -> Result<&Self, QuickFixError>
pub fn set_symbol(&mut self, value: Symbol) -> Result<&Self, QuickFixError>
pub fn remove_symbol(&mut self) -> 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_security_id_source( &mut self, value: SecurityIDSource, ) -> Result<&Self, QuickFixError>
pub fn remove_security_id_source(&mut self) -> Result<&Self, QuickFixError>
pub fn add_no_security_alt_id( &mut self, value: NoSecurityAltID, ) -> Result<&Self, QuickFixError>
pub fn set_product(&mut self, value: Product) -> Result<&Self, QuickFixError>
pub fn remove_product(&mut self) -> Result<&Self, QuickFixError>
pub fn set_cfi_code(&mut self, value: CFICode) -> Result<&Self, QuickFixError>
pub fn remove_cfi_code(&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_date( &mut self, value: MaturityDate, ) -> Result<&Self, QuickFixError>
pub fn remove_maturity_date(&mut self) -> Result<&Self, QuickFixError>
pub fn set_coupon_payment_date( &mut self, value: CouponPaymentDate, ) -> Result<&Self, QuickFixError>
pub fn remove_coupon_payment_date(&mut self) -> Result<&Self, QuickFixError>
pub fn set_issue_date( &mut self, value: IssueDate, ) -> Result<&Self, QuickFixError>
pub fn remove_issue_date(&mut self) -> Result<&Self, QuickFixError>
pub fn set_repo_collateral_security_type( &mut self, value: RepoCollateralSecurityType, ) -> Result<&Self, QuickFixError>
pub fn remove_repo_collateral_security_type( &mut self, ) -> Result<&Self, QuickFixError>
pub fn set_repurchase_term( &mut self, value: RepurchaseTerm, ) -> Result<&Self, QuickFixError>
pub fn remove_repurchase_term(&mut self) -> Result<&Self, QuickFixError>
pub fn set_repurchase_rate( &mut self, value: RepurchaseRate, ) -> Result<&Self, QuickFixError>
pub fn remove_repurchase_rate(&mut self) -> Result<&Self, QuickFixError>
pub fn set_factor(&mut self, value: Factor) -> Result<&Self, QuickFixError>
pub fn remove_factor(&mut self) -> Result<&Self, QuickFixError>
pub fn set_credit_rating( &mut self, value: CreditRating, ) -> Result<&Self, QuickFixError>
pub fn remove_credit_rating(&mut self) -> Result<&Self, QuickFixError>
pub fn set_instr_registry( &mut self, value: InstrRegistry, ) -> Result<&Self, QuickFixError>
pub fn remove_instr_registry(&mut self) -> Result<&Self, QuickFixError>
pub fn set_country_of_issue( &mut self, value: CountryOfIssue, ) -> Result<&Self, QuickFixError>
pub fn remove_country_of_issue(&mut self) -> Result<&Self, QuickFixError>
pub fn set_state_or_province_of_issue( &mut self, value: StateOrProvinceOfIssue, ) -> Result<&Self, QuickFixError>
pub fn remove_state_or_province_of_issue( &mut self, ) -> Result<&Self, QuickFixError>
pub fn set_locale_of_issue( &mut self, value: LocaleOfIssue, ) -> Result<&Self, QuickFixError>
pub fn remove_locale_of_issue(&mut self) -> Result<&Self, QuickFixError>
pub fn set_redemption_date( &mut self, value: RedemptionDate, ) -> Result<&Self, QuickFixError>
pub fn remove_redemption_date(&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_side(&mut self, value: Side) -> Result<&Self, QuickFixError>
pub fn set_quantity_type( &mut self, value: QuantityType, ) -> Result<&Self, QuickFixError>
pub fn remove_quantity_type(&mut self) -> Result<&Self, QuickFixError>
pub fn set_ioi_qty(&mut self, value: IOIQty) -> Result<&Self, QuickFixError>
pub fn set_price_type( &mut self, value: PriceType, ) -> Result<&Self, QuickFixError>
pub fn remove_price_type(&mut self) -> Result<&Self, QuickFixError>
pub fn set_price(&mut self, value: Price) -> Result<&Self, QuickFixError>
pub fn remove_price(&mut self) -> 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_valid_until_time( &mut self, value: ValidUntilTime, ) -> Result<&Self, QuickFixError>
pub fn remove_valid_until_time(&mut self) -> Result<&Self, QuickFixError>
pub fn set_ioi_qlty_ind( &mut self, value: IOIQltyInd, ) -> Result<&Self, QuickFixError>
pub fn remove_ioi_qlty_ind(&mut self) -> Result<&Self, QuickFixError>
pub fn set_ioi_natural_flag( &mut self, value: IOINaturalFlag, ) -> Result<&Self, QuickFixError>
pub fn remove_ioi_natural_flag(&mut self) -> Result<&Self, QuickFixError>
pub fn add_no_ioi_qualifiers( &mut self, value: NoIOIQualifiers, ) -> 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_transact_time( &mut self, value: TransactTime, ) -> Result<&Self, QuickFixError>
pub fn remove_transact_time(&mut self) -> Result<&Self, QuickFixError>
pub fn set_url_link(&mut self, value: URLLink) -> Result<&Self, QuickFixError>
pub fn remove_url_link(&mut self) -> Result<&Self, QuickFixError>
pub fn add_no_routing_i_ds( &mut self, value: NoRoutingIDs, ) -> Result<&Self, QuickFixError>
pub fn set_spread(&mut self, value: Spread) -> Result<&Self, QuickFixError>
pub fn remove_spread(&mut self) -> Result<&Self, QuickFixError>
pub fn set_benchmark_curve_currency( &mut self, value: BenchmarkCurveCurrency, ) -> Result<&Self, QuickFixError>
pub fn remove_benchmark_curve_currency( &mut self, ) -> Result<&Self, QuickFixError>
pub fn set_benchmark_curve_name( &mut self, value: BenchmarkCurveName, ) -> Result<&Self, QuickFixError>
pub fn remove_benchmark_curve_name(&mut self) -> Result<&Self, QuickFixError>
pub fn set_benchmark_curve_point( &mut self, value: BenchmarkCurvePoint, ) -> Result<&Self, QuickFixError>
pub fn remove_benchmark_curve_point(&mut self) -> Result<&Self, QuickFixError>
pub fn set_benchmark( &mut self, value: Benchmark, ) -> Result<&Self, QuickFixError>
pub fn remove_benchmark(&mut self) -> Result<&Self, QuickFixError>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for IOI
impl RefUnwindSafe for IOI
impl !Send for IOI
impl !Sync for IOI
impl Unpin for IOI
impl UnwindSafe for IOI
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