pub struct PositionReport { /* private fields */ }
Implementations§
Source§impl PositionReport
impl PositionReport
pub const MSG_TYPE_BYTES: &'static str = "AP"
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 PositionReport
impl PositionReport
pub fn try_new( pos_maint_rpt_id: PosMaintRptID, pos_req_result: PosReqResult, clearing_business_date: ClearingBusinessDate, account: Account, account_type: AccountType, settl_price: SettlPrice, settl_price_type: SettlPriceType, prior_settl_price: PriorSettlPrice, ) -> Result<Self, QuickFixError>
Source§impl PositionReport
impl PositionReport
pub fn get_pos_maint_rpt_id(&self) -> PosMaintRptID
pub fn get_pos_req_id(&self) -> Option<PosReqID>
pub fn get_pos_req_type(&self) -> Option<PosReqType>
pub fn get_subscription_request_type(&self) -> Option<SubscriptionRequestType>
pub fn get_total_num_pos_reports(&self) -> Option<TotalNumPosReports>
pub fn get_unsolicited_indicator(&self) -> Option<UnsolicitedIndicator>
pub fn get_pos_req_result(&self) -> PosReqResult
pub fn get_clearing_business_date(&self) -> ClearingBusinessDate
pub fn get_settl_sess_id(&self) -> Option<SettlSessID>
pub fn get_settl_sess_sub_id(&self) -> Option<SettlSessSubID>
pub fn no_party_i_ds_len(&self) -> usize
pub fn clone_group_no_party_i_ds(&self, index: usize) -> Option<NoPartyIDs>
pub fn iter_no_party_i_ds(&self) -> GroupIterator<'_, Self, NoPartyIDs> ⓘ
pub fn get_account(&self) -> Account
pub fn get_acct_id_source(&self) -> Option<AcctIDSource>
pub fn get_account_type(&self) -> AccountType
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_security_sub_type(&self) -> Option<SecuritySubType>
pub fn get_maturity_month_year(&self) -> Option<MaturityMonthYear>
pub fn get_maturity_date(&self) -> Option<MaturityDate>
pub fn get_put_or_call(&self) -> Option<PutOrCall>
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_strike_currency(&self) -> Option<StrikeCurrency>
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_pool(&self) -> Option<Pool>
pub fn get_contract_settl_month(&self) -> Option<ContractSettlMonth>
pub fn get_cp_program(&self) -> Option<CPProgram>
pub fn get_cp_reg_type(&self) -> Option<CPRegType>
pub fn no_events_len(&self) -> usize
pub fn clone_group_no_events(&self, index: usize) -> Option<NoEvents>
pub fn iter_no_events(&self) -> GroupIterator<'_, Self, NoEvents> ⓘ
pub fn get_dated_date(&self) -> Option<DatedDate>
pub fn get_interest_accrual_date(&self) -> Option<InterestAccrualDate>
pub fn get_currency(&self) -> Option<Currency>
pub fn get_settl_price(&self) -> SettlPrice
pub fn get_settl_price_type(&self) -> SettlPriceType
pub fn get_prior_settl_price(&self) -> PriorSettlPrice
pub fn no_legs_len(&self) -> usize
pub fn clone_group_no_legs(&self, index: usize) -> Option<NoLegs>
pub fn iter_no_legs(&self) -> GroupIterator<'_, Self, NoLegs> ⓘ
pub fn no_underlyings_len(&self) -> usize
pub fn clone_group_no_underlyings(&self, index: usize) -> Option<NoUnderlyings>
pub fn iter_no_underlyings(&self) -> GroupIterator<'_, Self, NoUnderlyings> ⓘ
pub fn no_positions_len(&self) -> usize
pub fn clone_group_no_positions(&self, index: usize) -> Option<NoPositions>
pub fn iter_no_positions(&self) -> GroupIterator<'_, Self, NoPositions> ⓘ
pub fn no_pos_amt_len(&self) -> usize
pub fn clone_group_no_pos_amt(&self, index: usize) -> Option<NoPosAmt>
pub fn iter_no_pos_amt(&self) -> GroupIterator<'_, Self, NoPosAmt> ⓘ
pub fn get_regist_status(&self) -> Option<RegistStatus>
pub fn get_delivery_date(&self) -> Option<DeliveryDate>
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 set_pos_maint_rpt_id( &mut self, value: PosMaintRptID, ) -> Result<&Self, QuickFixError>
pub fn set_pos_req_id( &mut self, value: PosReqID, ) -> Result<&Self, QuickFixError>
pub fn remove_pos_req_id(&mut self) -> Result<&Self, QuickFixError>
pub fn set_pos_req_type( &mut self, value: PosReqType, ) -> Result<&Self, QuickFixError>
pub fn remove_pos_req_type(&mut self) -> Result<&Self, QuickFixError>
pub fn set_subscription_request_type( &mut self, value: SubscriptionRequestType, ) -> Result<&Self, QuickFixError>
pub fn remove_subscription_request_type( &mut self, ) -> Result<&Self, QuickFixError>
pub fn set_total_num_pos_reports( &mut self, value: TotalNumPosReports, ) -> Result<&Self, QuickFixError>
pub fn remove_total_num_pos_reports(&mut self) -> Result<&Self, QuickFixError>
pub fn set_unsolicited_indicator( &mut self, value: UnsolicitedIndicator, ) -> Result<&Self, QuickFixError>
pub fn remove_unsolicited_indicator(&mut self) -> Result<&Self, QuickFixError>
pub fn set_pos_req_result( &mut self, value: PosReqResult, ) -> Result<&Self, QuickFixError>
pub fn set_clearing_business_date( &mut self, value: ClearingBusinessDate, ) -> Result<&Self, QuickFixError>
pub fn set_settl_sess_id( &mut self, value: SettlSessID, ) -> Result<&Self, QuickFixError>
pub fn remove_settl_sess_id(&mut self) -> Result<&Self, QuickFixError>
pub fn set_settl_sess_sub_id( &mut self, value: SettlSessSubID, ) -> Result<&Self, QuickFixError>
pub fn remove_settl_sess_sub_id(&mut self) -> Result<&Self, QuickFixError>
pub fn add_no_party_i_ds( &mut self, value: NoPartyIDs, ) -> Result<&Self, QuickFixError>
pub fn set_account(&mut self, value: Account) -> Result<&Self, QuickFixError>
pub fn set_acct_id_source( &mut self, value: AcctIDSource, ) -> Result<&Self, QuickFixError>
pub fn remove_acct_id_source(&mut self) -> Result<&Self, QuickFixError>
pub fn set_account_type( &mut self, value: AccountType, ) -> 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_security_sub_type( &mut self, value: SecuritySubType, ) -> Result<&Self, QuickFixError>
pub fn remove_security_sub_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_put_or_call( &mut self, value: PutOrCall, ) -> Result<&Self, QuickFixError>
pub fn remove_put_or_call(&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_strike_currency( &mut self, value: StrikeCurrency, ) -> Result<&Self, QuickFixError>
pub fn remove_strike_currency(&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_pool(&mut self, value: Pool) -> Result<&Self, QuickFixError>
pub fn remove_pool(&mut self) -> Result<&Self, QuickFixError>
pub fn set_contract_settl_month( &mut self, value: ContractSettlMonth, ) -> Result<&Self, QuickFixError>
pub fn remove_contract_settl_month(&mut self) -> Result<&Self, QuickFixError>
pub fn set_cp_program( &mut self, value: CPProgram, ) -> Result<&Self, QuickFixError>
pub fn remove_cp_program(&mut self) -> Result<&Self, QuickFixError>
pub fn set_cp_reg_type( &mut self, value: CPRegType, ) -> Result<&Self, QuickFixError>
pub fn remove_cp_reg_type(&mut self) -> Result<&Self, QuickFixError>
pub fn add_no_events(&mut self, value: NoEvents) -> Result<&Self, QuickFixError>
pub fn set_dated_date( &mut self, value: DatedDate, ) -> Result<&Self, QuickFixError>
pub fn remove_dated_date(&mut self) -> Result<&Self, QuickFixError>
pub fn set_interest_accrual_date( &mut self, value: InterestAccrualDate, ) -> Result<&Self, QuickFixError>
pub fn remove_interest_accrual_date(&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_settl_price( &mut self, value: SettlPrice, ) -> Result<&Self, QuickFixError>
pub fn set_settl_price_type( &mut self, value: SettlPriceType, ) -> Result<&Self, QuickFixError>
pub fn set_prior_settl_price( &mut self, value: PriorSettlPrice, ) -> Result<&Self, QuickFixError>
pub fn add_no_legs(&mut self, value: NoLegs) -> Result<&Self, QuickFixError>
pub fn add_no_underlyings( &mut self, value: NoUnderlyings, ) -> Result<&Self, QuickFixError>
pub fn add_no_positions( &mut self, value: NoPositions, ) -> Result<&Self, QuickFixError>
pub fn add_no_pos_amt( &mut self, value: NoPosAmt, ) -> Result<&Self, QuickFixError>
pub fn set_regist_status( &mut self, value: RegistStatus, ) -> Result<&Self, QuickFixError>
pub fn remove_regist_status(&mut self) -> Result<&Self, QuickFixError>
pub fn set_delivery_date( &mut self, value: DeliveryDate, ) -> Result<&Self, QuickFixError>
pub fn remove_delivery_date(&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>
Trait Implementations§
Source§impl Clone for PositionReport
impl Clone for PositionReport
Source§fn clone(&self) -> PositionReport
fn clone(&self) -> PositionReport
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 PositionReport
impl Debug for PositionReport
Source§impl From<Message> for PositionReport
impl From<Message> for PositionReport
Source§impl From<PositionReport> for Message
impl From<PositionReport> for Message
Source§fn from(input: PositionReport) -> Self
fn from(input: PositionReport) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PositionReport
impl RefUnwindSafe for PositionReport
impl !Send for PositionReport
impl !Sync for PositionReport
impl Unpin for PositionReport
impl UnwindSafe for PositionReport
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