Skip to main content

CollateralRequest

Struct CollateralRequest 

Source
pub struct CollateralRequest {
    pub message: Message,
}
Expand description

CollateralRequest is the fix50sp1 CollateralRequest type, MsgType = AX.

Fields§

§message: Message

Implementations§

Source§

impl CollateralRequest

Source

pub fn new( coll_req_id: CollReqIDField, coll_asgn_reason: CollAsgnReasonField, transact_time: TransactTimeField, ) -> Self

Creates a new CollateralRequest with required fields.

Source

pub fn from_message(msg: Message) -> Self

Creates a CollateralRequest from an existing Message.

Source

pub fn to_message(self) -> Message

Returns the underlying Message.

Source

pub fn set_account(&mut self, v: String)

Sets Account, Tag 1.

Source

pub fn get_account(&self) -> Result<String, MessageRejectErrorEnum>

Gets Account, Tag 1.

Source

pub fn has_account(&self) -> bool

Returns true if Account is present, Tag 1.

Source

pub fn set_account_type(&mut self, v: isize)

Sets AccountType, Tag 581.

Source

pub fn get_account_type(&self) -> Result<isize, MessageRejectErrorEnum>

Gets AccountType, Tag 581.

Source

pub fn has_account_type(&self) -> bool

Returns true if AccountType is present, Tag 581.

Source

pub fn set_accrued_interest_amt(&mut self, val: Decimal, scale: i32)

Sets AccruedInterestAmt, Tag 159.

Source

pub fn get_accrued_interest_amt( &self, ) -> Result<Decimal, MessageRejectErrorEnum>

Gets AccruedInterestAmt, Tag 159.

Source

pub fn has_accrued_interest_amt(&self) -> bool

Returns true if AccruedInterestAmt is present, Tag 159.

Source

pub fn set_agreement_currency(&mut self, v: String)

Sets AgreementCurrency, Tag 918.

Source

pub fn get_agreement_currency(&self) -> Result<String, MessageRejectErrorEnum>

Gets AgreementCurrency, Tag 918.

Source

pub fn has_agreement_currency(&self) -> bool

Returns true if AgreementCurrency is present, Tag 918.

Source

pub fn set_agreement_date(&mut self, v: String)

Sets AgreementDate, Tag 915.

Source

pub fn get_agreement_date(&self) -> Result<String, MessageRejectErrorEnum>

Gets AgreementDate, Tag 915.

Source

pub fn has_agreement_date(&self) -> bool

Returns true if AgreementDate is present, Tag 915.

Source

pub fn set_agreement_desc(&mut self, v: String)

Sets AgreementDesc, Tag 913.

Source

pub fn get_agreement_desc(&self) -> Result<String, MessageRejectErrorEnum>

Gets AgreementDesc, Tag 913.

Source

pub fn has_agreement_desc(&self) -> bool

Returns true if AgreementDesc is present, Tag 913.

Source

pub fn set_agreement_id(&mut self, v: String)

Sets AgreementID, Tag 914.

Source

pub fn get_agreement_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets AgreementID, Tag 914.

Source

pub fn has_agreement_id(&self) -> bool

Returns true if AgreementID is present, Tag 914.

Source

pub fn set_benchmark_curve_currency(&mut self, v: String)

Sets BenchmarkCurveCurrency, Tag 220.

Source

pub fn get_benchmark_curve_currency( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets BenchmarkCurveCurrency, Tag 220.

Source

pub fn has_benchmark_curve_currency(&self) -> bool

Returns true if BenchmarkCurveCurrency is present, Tag 220.

Source

pub fn set_benchmark_curve_name(&mut self, v: String)

Sets BenchmarkCurveName, Tag 221.

Source

pub fn get_benchmark_curve_name(&self) -> Result<String, MessageRejectErrorEnum>

Gets BenchmarkCurveName, Tag 221.

Source

pub fn has_benchmark_curve_name(&self) -> bool

Returns true if BenchmarkCurveName is present, Tag 221.

Source

pub fn set_benchmark_curve_point(&mut self, v: String)

Sets BenchmarkCurvePoint, Tag 222.

Source

pub fn get_benchmark_curve_point( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets BenchmarkCurvePoint, Tag 222.

Source

pub fn has_benchmark_curve_point(&self) -> bool

Returns true if BenchmarkCurvePoint is present, Tag 222.

Source

pub fn set_benchmark_price(&mut self, val: Decimal, scale: i32)

Sets BenchmarkPrice, Tag 662.

Source

pub fn get_benchmark_price(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets BenchmarkPrice, Tag 662.

Source

pub fn has_benchmark_price(&self) -> bool

Returns true if BenchmarkPrice is present, Tag 662.

Source

pub fn set_benchmark_price_type(&mut self, v: isize)

Sets BenchmarkPriceType, Tag 663.

Source

pub fn get_benchmark_price_type(&self) -> Result<isize, MessageRejectErrorEnum>

Gets BenchmarkPriceType, Tag 663.

Source

pub fn has_benchmark_price_type(&self) -> bool

Returns true if BenchmarkPriceType is present, Tag 663.

Source

pub fn set_benchmark_security_id(&mut self, v: String)

Sets BenchmarkSecurityID, Tag 699.

Source

pub fn get_benchmark_security_id( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets BenchmarkSecurityID, Tag 699.

Source

pub fn has_benchmark_security_id(&self) -> bool

Returns true if BenchmarkSecurityID is present, Tag 699.

Source

pub fn set_benchmark_security_id_source(&mut self, v: String)

Sets BenchmarkSecurityIDSource, Tag 761.

Source

pub fn get_benchmark_security_id_source( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets BenchmarkSecurityIDSource, Tag 761.

Source

pub fn has_benchmark_security_id_source(&self) -> bool

Returns true if BenchmarkSecurityIDSource is present, Tag 761.

Source

pub fn set_cfi_code(&mut self, v: String)

Sets CFICode, Tag 461.

Source

pub fn get_cfi_code(&self) -> Result<String, MessageRejectErrorEnum>

Gets CFICode, Tag 461.

Source

pub fn has_cfi_code(&self) -> bool

Returns true if CFICode is present, Tag 461.

Source

pub fn set_cp_program(&mut self, v: isize)

Sets CPProgram, Tag 875.

Source

pub fn get_cp_program(&self) -> Result<isize, MessageRejectErrorEnum>

Gets CPProgram, Tag 875.

Source

pub fn has_cp_program(&self) -> bool

Returns true if CPProgram is present, Tag 875.

Source

pub fn set_cp_reg_type(&mut self, v: String)

Sets CPRegType, Tag 876.

Source

pub fn get_cp_reg_type(&self) -> Result<String, MessageRejectErrorEnum>

Gets CPRegType, Tag 876.

Source

pub fn has_cp_reg_type(&self) -> bool

Returns true if CPRegType is present, Tag 876.

Source

pub fn set_cap_price(&mut self, val: Decimal, scale: i32)

Sets CapPrice, Tag 1199.

Source

pub fn get_cap_price(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets CapPrice, Tag 1199.

Source

pub fn has_cap_price(&self) -> bool

Returns true if CapPrice is present, Tag 1199.

Source

pub fn set_cash_outstanding(&mut self, val: Decimal, scale: i32)

Sets CashOutstanding, Tag 901.

Source

pub fn get_cash_outstanding(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets CashOutstanding, Tag 901.

Source

pub fn has_cash_outstanding(&self) -> bool

Returns true if CashOutstanding is present, Tag 901.

Source

pub fn set_cl_ord_id(&mut self, v: String)

Sets ClOrdID, Tag 11.

Source

pub fn get_cl_ord_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets ClOrdID, Tag 11.

Source

pub fn has_cl_ord_id(&self) -> bool

Returns true if ClOrdID is present, Tag 11.

Source

pub fn set_clearing_business_date(&mut self, v: String)

Sets ClearingBusinessDate, Tag 715.

Source

pub fn get_clearing_business_date( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets ClearingBusinessDate, Tag 715.

Source

pub fn has_clearing_business_date(&self) -> bool

Returns true if ClearingBusinessDate is present, Tag 715.

Source

pub fn set_coll_asgn_reason(&mut self, v: isize)

Sets CollAsgnReason, Tag 895.

Source

pub fn get_coll_asgn_reason(&self) -> Result<isize, MessageRejectErrorEnum>

Gets CollAsgnReason, Tag 895.

Source

pub fn has_coll_asgn_reason(&self) -> bool

Returns true if CollAsgnReason is present, Tag 895.

Source

pub fn set_coll_req_id(&mut self, v: String)

Sets CollReqID, Tag 894.

Source

pub fn get_coll_req_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets CollReqID, Tag 894.

Source

pub fn has_coll_req_id(&self) -> bool

Returns true if CollReqID is present, Tag 894.

Source

pub fn set_contract_multiplier(&mut self, val: Decimal, scale: i32)

Sets ContractMultiplier, Tag 231.

Source

pub fn get_contract_multiplier(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets ContractMultiplier, Tag 231.

Source

pub fn has_contract_multiplier(&self) -> bool

Returns true if ContractMultiplier is present, Tag 231.

Source

pub fn set_contract_settl_month(&mut self, v: String)

Sets ContractSettlMonth, Tag 667.

Source

pub fn get_contract_settl_month(&self) -> Result<String, MessageRejectErrorEnum>

Gets ContractSettlMonth, Tag 667.

Source

pub fn has_contract_settl_month(&self) -> bool

Returns true if ContractSettlMonth is present, Tag 667.

Source

pub fn set_country_of_issue(&mut self, v: String)

Sets CountryOfIssue, Tag 470.

Source

pub fn get_country_of_issue(&self) -> Result<String, MessageRejectErrorEnum>

Gets CountryOfIssue, Tag 470.

Source

pub fn has_country_of_issue(&self) -> bool

Returns true if CountryOfIssue is present, Tag 470.

Source

pub fn set_coupon_payment_date(&mut self, v: String)

Sets CouponPaymentDate, Tag 224.

Source

pub fn get_coupon_payment_date(&self) -> Result<String, MessageRejectErrorEnum>

Gets CouponPaymentDate, Tag 224.

Source

pub fn has_coupon_payment_date(&self) -> bool

Returns true if CouponPaymentDate is present, Tag 224.

Source

pub fn set_coupon_rate(&mut self, val: Decimal, scale: i32)

Sets CouponRate, Tag 223.

Source

pub fn get_coupon_rate(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets CouponRate, Tag 223.

Source

pub fn has_coupon_rate(&self) -> bool

Returns true if CouponRate is present, Tag 223.

Source

pub fn set_credit_rating(&mut self, v: String)

Sets CreditRating, Tag 255.

Source

pub fn get_credit_rating(&self) -> Result<String, MessageRejectErrorEnum>

Gets CreditRating, Tag 255.

Source

pub fn has_credit_rating(&self) -> bool

Returns true if CreditRating is present, Tag 255.

Source

pub fn set_currency(&mut self, v: String)

Sets Currency, Tag 15.

Source

pub fn get_currency(&self) -> Result<String, MessageRejectErrorEnum>

Gets Currency, Tag 15.

Source

pub fn has_currency(&self) -> bool

Returns true if Currency is present, Tag 15.

Source

pub fn set_dated_date(&mut self, v: String)

Sets DatedDate, Tag 873.

Source

pub fn get_dated_date(&self) -> Result<String, MessageRejectErrorEnum>

Gets DatedDate, Tag 873.

Source

pub fn has_dated_date(&self) -> bool

Returns true if DatedDate is present, Tag 873.

Source

pub fn set_delivery_type(&mut self, v: isize)

Sets DeliveryType, Tag 919.

Source

pub fn get_delivery_type(&self) -> Result<isize, MessageRejectErrorEnum>

Gets DeliveryType, Tag 919.

Source

pub fn has_delivery_type(&self) -> bool

Returns true if DeliveryType is present, Tag 919.

Source

pub fn set_encoded_issuer(&mut self, v: String)

Sets EncodedIssuer, Tag 349.

Source

pub fn get_encoded_issuer(&self) -> Result<String, MessageRejectErrorEnum>

Gets EncodedIssuer, Tag 349.

Source

pub fn has_encoded_issuer(&self) -> bool

Returns true if EncodedIssuer is present, Tag 349.

Source

pub fn set_encoded_issuer_len(&mut self, v: isize)

Sets EncodedIssuerLen, Tag 348.

Source

pub fn get_encoded_issuer_len(&self) -> Result<isize, MessageRejectErrorEnum>

Gets EncodedIssuerLen, Tag 348.

Source

pub fn has_encoded_issuer_len(&self) -> bool

Returns true if EncodedIssuerLen is present, Tag 348.

Source

pub fn set_encoded_security_desc(&mut self, v: String)

Sets EncodedSecurityDesc, Tag 351.

Source

pub fn get_encoded_security_desc( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets EncodedSecurityDesc, Tag 351.

Source

pub fn has_encoded_security_desc(&self) -> bool

Returns true if EncodedSecurityDesc is present, Tag 351.

Source

pub fn set_encoded_security_desc_len(&mut self, v: isize)

Sets EncodedSecurityDescLen, Tag 350.

Source

pub fn get_encoded_security_desc_len( &self, ) -> Result<isize, MessageRejectErrorEnum>

Gets EncodedSecurityDescLen, Tag 350.

Source

pub fn has_encoded_security_desc_len(&self) -> bool

Returns true if EncodedSecurityDescLen is present, Tag 350.

Source

pub fn set_encoded_text(&mut self, v: String)

Sets EncodedText, Tag 355.

Source

pub fn get_encoded_text(&self) -> Result<String, MessageRejectErrorEnum>

Gets EncodedText, Tag 355.

Source

pub fn has_encoded_text(&self) -> bool

Returns true if EncodedText is present, Tag 355.

Source

pub fn set_encoded_text_len(&mut self, v: isize)

Sets EncodedTextLen, Tag 354.

Source

pub fn get_encoded_text_len(&self) -> Result<isize, MessageRejectErrorEnum>

Gets EncodedTextLen, Tag 354.

Source

pub fn has_encoded_text_len(&self) -> bool

Returns true if EncodedTextLen is present, Tag 354.

Source

pub fn set_end_accrued_interest_amt(&mut self, val: Decimal, scale: i32)

Sets EndAccruedInterestAmt, Tag 920.

Source

pub fn get_end_accrued_interest_amt( &self, ) -> Result<Decimal, MessageRejectErrorEnum>

Gets EndAccruedInterestAmt, Tag 920.

Source

pub fn has_end_accrued_interest_amt(&self) -> bool

Returns true if EndAccruedInterestAmt is present, Tag 920.

Source

pub fn set_end_cash(&mut self, val: Decimal, scale: i32)

Sets EndCash, Tag 922.

Source

pub fn get_end_cash(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets EndCash, Tag 922.

Source

pub fn has_end_cash(&self) -> bool

Returns true if EndCash is present, Tag 922.

Source

pub fn set_end_date(&mut self, v: String)

Sets EndDate, Tag 917.

Source

pub fn get_end_date(&self) -> Result<String, MessageRejectErrorEnum>

Gets EndDate, Tag 917.

Source

pub fn has_end_date(&self) -> bool

Returns true if EndDate is present, Tag 917.

Source

pub fn set_exercise_style(&mut self, v: isize)

Sets ExerciseStyle, Tag 1194.

Source

pub fn get_exercise_style(&self) -> Result<isize, MessageRejectErrorEnum>

Gets ExerciseStyle, Tag 1194.

Source

pub fn has_exercise_style(&self) -> bool

Returns true if ExerciseStyle is present, Tag 1194.

Source

pub fn set_expire_time(&mut self, v: Timestamp)

Sets ExpireTime, Tag 126.

Source

pub fn get_expire_time(&self) -> Result<Timestamp, MessageRejectErrorEnum>

Gets ExpireTime, Tag 126.

Source

pub fn has_expire_time(&self) -> bool

Returns true if ExpireTime is present, Tag 126.

Source

pub fn set_factor(&mut self, val: Decimal, scale: i32)

Sets Factor, Tag 228.

Source

pub fn get_factor(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets Factor, Tag 228.

Source

pub fn has_factor(&self) -> bool

Returns true if Factor is present, Tag 228.

Source

pub fn set_flex_product_eligibility_indicator(&mut self, v: bool)

Sets FlexProductEligibilityIndicator, Tag 1242.

Source

pub fn get_flex_product_eligibility_indicator( &self, ) -> Result<bool, MessageRejectErrorEnum>

Gets FlexProductEligibilityIndicator, Tag 1242.

Source

pub fn has_flex_product_eligibility_indicator(&self) -> bool

Returns true if FlexProductEligibilityIndicator is present, Tag 1242.

Source

pub fn set_flexible_indicator(&mut self, v: bool)

Sets FlexibleIndicator, Tag 1244.

Source

pub fn get_flexible_indicator(&self) -> Result<bool, MessageRejectErrorEnum>

Gets FlexibleIndicator, Tag 1244.

Source

pub fn has_flexible_indicator(&self) -> bool

Returns true if FlexibleIndicator is present, Tag 1244.

Source

pub fn set_floor_price(&mut self, val: Decimal, scale: i32)

Sets FloorPrice, Tag 1200.

Source

pub fn get_floor_price(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets FloorPrice, Tag 1200.

Source

pub fn has_floor_price(&self) -> bool

Returns true if FloorPrice is present, Tag 1200.

Source

pub fn set_futures_valuation_method(&mut self, v: String)

Sets FuturesValuationMethod, Tag 1197.

Source

pub fn get_futures_valuation_method( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets FuturesValuationMethod, Tag 1197.

Source

pub fn has_futures_valuation_method(&self) -> bool

Returns true if FuturesValuationMethod is present, Tag 1197.

Source

pub fn set_instr_registry(&mut self, v: String)

Sets InstrRegistry, Tag 543.

Source

pub fn get_instr_registry(&self) -> Result<String, MessageRejectErrorEnum>

Gets InstrRegistry, Tag 543.

Source

pub fn has_instr_registry(&self) -> bool

Returns true if InstrRegistry is present, Tag 543.

Source

pub fn set_instrmt_assignment_method(&mut self, v: String)

Sets InstrmtAssignmentMethod, Tag 1049.

Source

pub fn get_instrmt_assignment_method( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets InstrmtAssignmentMethod, Tag 1049.

Source

pub fn has_instrmt_assignment_method(&self) -> bool

Returns true if InstrmtAssignmentMethod is present, Tag 1049.

Source

pub fn set_interest_accrual_date(&mut self, v: String)

Sets InterestAccrualDate, Tag 874.

Source

pub fn get_interest_accrual_date( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets InterestAccrualDate, Tag 874.

Source

pub fn has_interest_accrual_date(&self) -> bool

Returns true if InterestAccrualDate is present, Tag 874.

Source

pub fn set_issue_date(&mut self, v: String)

Sets IssueDate, Tag 225.

Source

pub fn get_issue_date(&self) -> Result<String, MessageRejectErrorEnum>

Gets IssueDate, Tag 225.

Source

pub fn has_issue_date(&self) -> bool

Returns true if IssueDate is present, Tag 225.

Source

pub fn set_issuer(&mut self, v: String)

Sets Issuer, Tag 106.

Source

pub fn get_issuer(&self) -> Result<String, MessageRejectErrorEnum>

Gets Issuer, Tag 106.

Source

pub fn has_issuer(&self) -> bool

Returns true if Issuer is present, Tag 106.

Source

pub fn set_list_method(&mut self, v: isize)

Sets ListMethod, Tag 1198.

Source

pub fn get_list_method(&self) -> Result<isize, MessageRejectErrorEnum>

Gets ListMethod, Tag 1198.

Source

pub fn has_list_method(&self) -> bool

Returns true if ListMethod is present, Tag 1198.

Source

pub fn set_locale_of_issue(&mut self, v: String)

Sets LocaleOfIssue, Tag 472.

Source

pub fn get_locale_of_issue(&self) -> Result<String, MessageRejectErrorEnum>

Gets LocaleOfIssue, Tag 472.

Source

pub fn has_locale_of_issue(&self) -> bool

Returns true if LocaleOfIssue is present, Tag 472.

Source

pub fn set_margin_excess(&mut self, val: Decimal, scale: i32)

Sets MarginExcess, Tag 899.

Source

pub fn get_margin_excess(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets MarginExcess, Tag 899.

Source

pub fn has_margin_excess(&self) -> bool

Returns true if MarginExcess is present, Tag 899.

Source

pub fn set_margin_ratio(&mut self, val: Decimal, scale: i32)

Sets MarginRatio, Tag 898.

Source

pub fn get_margin_ratio(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets MarginRatio, Tag 898.

Source

pub fn has_margin_ratio(&self) -> bool

Returns true if MarginRatio is present, Tag 898.

Source

pub fn set_maturity_date(&mut self, v: String)

Sets MaturityDate, Tag 541.

Source

pub fn get_maturity_date(&self) -> Result<String, MessageRejectErrorEnum>

Gets MaturityDate, Tag 541.

Source

pub fn has_maturity_date(&self) -> bool

Returns true if MaturityDate is present, Tag 541.

Source

pub fn set_maturity_month_year(&mut self, v: String)

Sets MaturityMonthYear, Tag 200.

Source

pub fn get_maturity_month_year(&self) -> Result<String, MessageRejectErrorEnum>

Gets MaturityMonthYear, Tag 200.

Source

pub fn has_maturity_month_year(&self) -> bool

Returns true if MaturityMonthYear is present, Tag 200.

Source

pub fn set_maturity_time(&mut self, v: String)

Sets MaturityTime, Tag 1079.

Source

pub fn get_maturity_time(&self) -> Result<String, MessageRejectErrorEnum>

Gets MaturityTime, Tag 1079.

Source

pub fn has_maturity_time(&self) -> bool

Returns true if MaturityTime is present, Tag 1079.

Source

pub fn set_min_price_increment(&mut self, val: Decimal, scale: i32)

Sets MinPriceIncrement, Tag 969.

Source

pub fn get_min_price_increment(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets MinPriceIncrement, Tag 969.

Source

pub fn has_min_price_increment(&self) -> bool

Returns true if MinPriceIncrement is present, Tag 969.

Source

pub fn set_min_price_increment_amount(&mut self, val: Decimal, scale: i32)

Sets MinPriceIncrementAmount, Tag 1146.

Source

pub fn get_min_price_increment_amount( &self, ) -> Result<Decimal, MessageRejectErrorEnum>

Gets MinPriceIncrementAmount, Tag 1146.

Source

pub fn has_min_price_increment_amount(&self) -> bool

Returns true if MinPriceIncrementAmount is present, Tag 1146.

Source

pub fn set_nt_position_limit(&mut self, v: isize)

Sets NTPositionLimit, Tag 971.

Source

pub fn get_nt_position_limit(&self) -> Result<isize, MessageRejectErrorEnum>

Gets NTPositionLimit, Tag 971.

Source

pub fn has_nt_position_limit(&self) -> bool

Returns true if NTPositionLimit is present, Tag 971.

Source

pub fn set_no_events(&mut self, v: isize)

Sets NoEvents, Tag 864.

Source

pub fn get_no_events(&self) -> Result<isize, MessageRejectErrorEnum>

Gets NoEvents, Tag 864.

Source

pub fn has_no_events(&self) -> bool

Returns true if NoEvents is present, Tag 864.

Source

pub fn set_no_execs(&mut self, v: isize)

Sets NoExecs, Tag 124.

Source

pub fn get_no_execs(&self) -> Result<isize, MessageRejectErrorEnum>

Gets NoExecs, Tag 124.

Source

pub fn has_no_execs(&self) -> bool

Returns true if NoExecs is present, Tag 124.

Source

pub fn set_no_instrument_parties(&mut self, v: isize)

Sets NoInstrumentParties, Tag 1018.

Source

pub fn get_no_instrument_parties(&self) -> Result<isize, MessageRejectErrorEnum>

Gets NoInstrumentParties, Tag 1018.

Source

pub fn has_no_instrument_parties(&self) -> bool

Returns true if NoInstrumentParties is present, Tag 1018.

Source

pub fn set_no_legs(&mut self, v: isize)

Sets NoLegs, Tag 555.

Source

pub fn get_no_legs(&self) -> Result<isize, MessageRejectErrorEnum>

Gets NoLegs, Tag 555.

Source

pub fn has_no_legs(&self) -> bool

Returns true if NoLegs is present, Tag 555.

Source

pub fn set_no_misc_fees(&mut self, v: isize)

Sets NoMiscFees, Tag 136.

Source

pub fn get_no_misc_fees(&self) -> Result<isize, MessageRejectErrorEnum>

Gets NoMiscFees, Tag 136.

Source

pub fn has_no_misc_fees(&self) -> bool

Returns true if NoMiscFees is present, Tag 136.

Source

pub fn set_no_party_i_ds(&mut self, v: isize)

Sets NoPartyIDs, Tag 453.

Source

pub fn get_no_party_i_ds(&self) -> Result<isize, MessageRejectErrorEnum>

Gets NoPartyIDs, Tag 453.

Source

pub fn has_no_party_i_ds(&self) -> bool

Returns true if NoPartyIDs is present, Tag 453.

Source

pub fn set_no_security_alt_id(&mut self, v: isize)

Sets NoSecurityAltID, Tag 454.

Source

pub fn get_no_security_alt_id(&self) -> Result<isize, MessageRejectErrorEnum>

Gets NoSecurityAltID, Tag 454.

Source

pub fn has_no_security_alt_id(&self) -> bool

Returns true if NoSecurityAltID is present, Tag 454.

Source

pub fn set_no_stipulations(&mut self, v: isize)

Sets NoStipulations, Tag 232.

Source

pub fn get_no_stipulations(&self) -> Result<isize, MessageRejectErrorEnum>

Gets NoStipulations, Tag 232.

Source

pub fn has_no_stipulations(&self) -> bool

Returns true if NoStipulations is present, Tag 232.

Source

pub fn set_no_trades(&mut self, v: isize)

Sets NoTrades, Tag 897.

Source

pub fn get_no_trades(&self) -> Result<isize, MessageRejectErrorEnum>

Gets NoTrades, Tag 897.

Source

pub fn has_no_trades(&self) -> bool

Returns true if NoTrades is present, Tag 897.

Source

pub fn set_no_trd_reg_timestamps(&mut self, v: isize)

Sets NoTrdRegTimestamps, Tag 768.

Source

pub fn get_no_trd_reg_timestamps(&self) -> Result<isize, MessageRejectErrorEnum>

Gets NoTrdRegTimestamps, Tag 768.

Source

pub fn has_no_trd_reg_timestamps(&self) -> bool

Returns true if NoTrdRegTimestamps is present, Tag 768.

Source

pub fn set_no_underlyings(&mut self, v: isize)

Sets NoUnderlyings, Tag 711.

Source

pub fn get_no_underlyings(&self) -> Result<isize, MessageRejectErrorEnum>

Gets NoUnderlyings, Tag 711.

Source

pub fn has_no_underlyings(&self) -> bool

Returns true if NoUnderlyings is present, Tag 711.

Source

pub fn set_opt_attribute(&mut self, v: String)

Sets OptAttribute, Tag 206.

Source

pub fn get_opt_attribute(&self) -> Result<String, MessageRejectErrorEnum>

Gets OptAttribute, Tag 206.

Source

pub fn has_opt_attribute(&self) -> bool

Returns true if OptAttribute is present, Tag 206.

Source

pub fn set_opt_pay_amount(&mut self, val: Decimal, scale: i32)

Sets OptPayAmount, Tag 1195.

Source

pub fn get_opt_pay_amount(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets OptPayAmount, Tag 1195.

Source

pub fn has_opt_pay_amount(&self) -> bool

Returns true if OptPayAmount is present, Tag 1195.

Source

pub fn set_order_id(&mut self, v: String)

Sets OrderID, Tag 37.

Source

pub fn get_order_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets OrderID, Tag 37.

Source

pub fn has_order_id(&self) -> bool

Returns true if OrderID is present, Tag 37.

Source

pub fn set_pool(&mut self, v: String)

Sets Pool, Tag 691.

Source

pub fn get_pool(&self) -> Result<String, MessageRejectErrorEnum>

Gets Pool, Tag 691.

Source

pub fn has_pool(&self) -> bool

Returns true if Pool is present, Tag 691.

Source

pub fn set_position_limit(&mut self, v: isize)

Sets PositionLimit, Tag 970.

Source

pub fn get_position_limit(&self) -> Result<isize, MessageRejectErrorEnum>

Gets PositionLimit, Tag 970.

Source

pub fn has_position_limit(&self) -> bool

Returns true if PositionLimit is present, Tag 970.

Source

pub fn set_price(&mut self, val: Decimal, scale: i32)

Sets Price, Tag 44.

Source

pub fn get_price(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets Price, Tag 44.

Source

pub fn has_price(&self) -> bool

Returns true if Price is present, Tag 44.

Source

pub fn set_price_quote_method(&mut self, v: String)

Sets PriceQuoteMethod, Tag 1196.

Source

pub fn get_price_quote_method(&self) -> Result<String, MessageRejectErrorEnum>

Gets PriceQuoteMethod, Tag 1196.

Source

pub fn has_price_quote_method(&self) -> bool

Returns true if PriceQuoteMethod is present, Tag 1196.

Source

pub fn set_price_type(&mut self, v: isize)

Sets PriceType, Tag 423.

Source

pub fn get_price_type(&self) -> Result<isize, MessageRejectErrorEnum>

Gets PriceType, Tag 423.

Source

pub fn has_price_type(&self) -> bool

Returns true if PriceType is present, Tag 423.

Source

pub fn set_price_unit_of_measure(&mut self, v: String)

Sets PriceUnitOfMeasure, Tag 1191.

Source

pub fn get_price_unit_of_measure( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets PriceUnitOfMeasure, Tag 1191.

Source

pub fn has_price_unit_of_measure(&self) -> bool

Returns true if PriceUnitOfMeasure is present, Tag 1191.

Source

pub fn set_price_unit_of_measure_qty(&mut self, val: Decimal, scale: i32)

Sets PriceUnitOfMeasureQty, Tag 1192.

Source

pub fn get_price_unit_of_measure_qty( &self, ) -> Result<Decimal, MessageRejectErrorEnum>

Gets PriceUnitOfMeasureQty, Tag 1192.

Source

pub fn has_price_unit_of_measure_qty(&self) -> bool

Returns true if PriceUnitOfMeasureQty is present, Tag 1192.

Source

pub fn set_product(&mut self, v: isize)

Sets Product, Tag 460.

Source

pub fn get_product(&self) -> Result<isize, MessageRejectErrorEnum>

Gets Product, Tag 460.

Source

pub fn has_product(&self) -> bool

Returns true if Product is present, Tag 460.

Source

pub fn set_product_complex(&mut self, v: String)

Sets ProductComplex, Tag 1227.

Source

pub fn get_product_complex(&self) -> Result<String, MessageRejectErrorEnum>

Gets ProductComplex, Tag 1227.

Source

pub fn has_product_complex(&self) -> bool

Returns true if ProductComplex is present, Tag 1227.

Source

pub fn set_put_or_call(&mut self, v: isize)

Sets PutOrCall, Tag 201.

Source

pub fn get_put_or_call(&self) -> Result<isize, MessageRejectErrorEnum>

Gets PutOrCall, Tag 201.

Source

pub fn has_put_or_call(&self) -> bool

Returns true if PutOrCall is present, Tag 201.

Source

pub fn set_qty_type(&mut self, v: isize)

Sets QtyType, Tag 854.

Source

pub fn get_qty_type(&self) -> Result<isize, MessageRejectErrorEnum>

Gets QtyType, Tag 854.

Source

pub fn has_qty_type(&self) -> bool

Returns true if QtyType is present, Tag 854.

Source

pub fn set_quantity(&mut self, val: Decimal, scale: i32)

Sets Quantity, Tag 53.

Source

pub fn get_quantity(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets Quantity, Tag 53.

Source

pub fn has_quantity(&self) -> bool

Returns true if Quantity is present, Tag 53.

Source

pub fn set_redemption_date(&mut self, v: String)

Sets RedemptionDate, Tag 240.

Source

pub fn get_redemption_date(&self) -> Result<String, MessageRejectErrorEnum>

Gets RedemptionDate, Tag 240.

Source

pub fn has_redemption_date(&self) -> bool

Returns true if RedemptionDate is present, Tag 240.

Source

pub fn set_repo_collateral_security_type(&mut self, v: isize)

Sets RepoCollateralSecurityType, Tag 239.

Source

pub fn get_repo_collateral_security_type( &self, ) -> Result<isize, MessageRejectErrorEnum>

Gets RepoCollateralSecurityType, Tag 239.

Source

pub fn has_repo_collateral_security_type(&self) -> bool

Returns true if RepoCollateralSecurityType is present, Tag 239.

Source

pub fn set_repurchase_rate(&mut self, val: Decimal, scale: i32)

Sets RepurchaseRate, Tag 227.

Source

pub fn get_repurchase_rate(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets RepurchaseRate, Tag 227.

Source

pub fn has_repurchase_rate(&self) -> bool

Returns true if RepurchaseRate is present, Tag 227.

Source

pub fn set_repurchase_term(&mut self, v: isize)

Sets RepurchaseTerm, Tag 226.

Source

pub fn get_repurchase_term(&self) -> Result<isize, MessageRejectErrorEnum>

Gets RepurchaseTerm, Tag 226.

Source

pub fn has_repurchase_term(&self) -> bool

Returns true if RepurchaseTerm is present, Tag 226.

Source

pub fn set_secondary_cl_ord_id(&mut self, v: String)

Sets SecondaryClOrdID, Tag 526.

Source

pub fn get_secondary_cl_ord_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets SecondaryClOrdID, Tag 526.

Source

pub fn has_secondary_cl_ord_id(&self) -> bool

Returns true if SecondaryClOrdID is present, Tag 526.

Source

pub fn set_secondary_order_id(&mut self, v: String)

Sets SecondaryOrderID, Tag 198.

Source

pub fn get_secondary_order_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets SecondaryOrderID, Tag 198.

Source

pub fn has_secondary_order_id(&self) -> bool

Returns true if SecondaryOrderID is present, Tag 198.

Source

pub fn set_security_desc(&mut self, v: String)

Sets SecurityDesc, Tag 107.

Source

pub fn get_security_desc(&self) -> Result<String, MessageRejectErrorEnum>

Gets SecurityDesc, Tag 107.

Source

pub fn has_security_desc(&self) -> bool

Returns true if SecurityDesc is present, Tag 107.

Source

pub fn set_security_exchange(&mut self, v: String)

Sets SecurityExchange, Tag 207.

Source

pub fn get_security_exchange(&self) -> Result<String, MessageRejectErrorEnum>

Gets SecurityExchange, Tag 207.

Source

pub fn has_security_exchange(&self) -> bool

Returns true if SecurityExchange is present, Tag 207.

Source

pub fn set_security_group(&mut self, v: String)

Sets SecurityGroup, Tag 1151.

Source

pub fn get_security_group(&self) -> Result<String, MessageRejectErrorEnum>

Gets SecurityGroup, Tag 1151.

Source

pub fn has_security_group(&self) -> bool

Returns true if SecurityGroup is present, Tag 1151.

Source

pub fn set_security_id(&mut self, v: String)

Sets SecurityID, Tag 48.

Source

pub fn get_security_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets SecurityID, Tag 48.

Source

pub fn has_security_id(&self) -> bool

Returns true if SecurityID is present, Tag 48.

Source

pub fn set_security_id_source(&mut self, v: String)

Sets SecurityIDSource, Tag 22.

Source

pub fn get_security_id_source(&self) -> Result<String, MessageRejectErrorEnum>

Gets SecurityIDSource, Tag 22.

Source

pub fn has_security_id_source(&self) -> bool

Returns true if SecurityIDSource is present, Tag 22.

Source

pub fn set_security_status(&mut self, v: String)

Sets SecurityStatus, Tag 965.

Source

pub fn get_security_status(&self) -> Result<String, MessageRejectErrorEnum>

Gets SecurityStatus, Tag 965.

Source

pub fn has_security_status(&self) -> bool

Returns true if SecurityStatus is present, Tag 965.

Source

pub fn set_security_sub_type(&mut self, v: String)

Sets SecuritySubType, Tag 762.

Source

pub fn get_security_sub_type(&self) -> Result<String, MessageRejectErrorEnum>

Gets SecuritySubType, Tag 762.

Source

pub fn has_security_sub_type(&self) -> bool

Returns true if SecuritySubType is present, Tag 762.

Source

pub fn set_security_type(&mut self, v: String)

Sets SecurityType, Tag 167.

Source

pub fn get_security_type(&self) -> Result<String, MessageRejectErrorEnum>

Gets SecurityType, Tag 167.

Source

pub fn has_security_type(&self) -> bool

Returns true if SecurityType is present, Tag 167.

Source

pub fn set_security_xml(&mut self, v: String)

Sets SecurityXML, Tag 1185.

Source

pub fn get_security_xml(&self) -> Result<String, MessageRejectErrorEnum>

Gets SecurityXML, Tag 1185.

Source

pub fn has_security_xml(&self) -> bool

Returns true if SecurityXML is present, Tag 1185.

Source

pub fn set_security_xml_len(&mut self, v: isize)

Sets SecurityXMLLen, Tag 1184.

Source

pub fn get_security_xml_len(&self) -> Result<isize, MessageRejectErrorEnum>

Gets SecurityXMLLen, Tag 1184.

Source

pub fn has_security_xml_len(&self) -> bool

Returns true if SecurityXMLLen is present, Tag 1184.

Source

pub fn set_security_xml_schema(&mut self, v: String)

Sets SecurityXMLSchema, Tag 1186.

Source

pub fn get_security_xml_schema(&self) -> Result<String, MessageRejectErrorEnum>

Gets SecurityXMLSchema, Tag 1186.

Source

pub fn has_security_xml_schema(&self) -> bool

Returns true if SecurityXMLSchema is present, Tag 1186.

Source

pub fn set_settl_date(&mut self, v: String)

Sets SettlDate, Tag 64.

Source

pub fn get_settl_date(&self) -> Result<String, MessageRejectErrorEnum>

Gets SettlDate, Tag 64.

Source

pub fn has_settl_date(&self) -> bool

Returns true if SettlDate is present, Tag 64.

Source

pub fn set_settl_method(&mut self, v: String)

Sets SettlMethod, Tag 1193.

Source

pub fn get_settl_method(&self) -> Result<String, MessageRejectErrorEnum>

Gets SettlMethod, Tag 1193.

Source

pub fn has_settl_method(&self) -> bool

Returns true if SettlMethod is present, Tag 1193.

Source

pub fn set_settl_sess_id(&mut self, v: String)

Sets SettlSessID, Tag 716.

Source

pub fn get_settl_sess_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets SettlSessID, Tag 716.

Source

pub fn has_settl_sess_id(&self) -> bool

Returns true if SettlSessID is present, Tag 716.

Source

pub fn set_settl_sess_sub_id(&mut self, v: String)

Sets SettlSessSubID, Tag 717.

Source

pub fn get_settl_sess_sub_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets SettlSessSubID, Tag 717.

Source

pub fn has_settl_sess_sub_id(&self) -> bool

Returns true if SettlSessSubID is present, Tag 717.

Source

pub fn set_settle_on_open_flag(&mut self, v: String)

Sets SettleOnOpenFlag, Tag 966.

Source

pub fn get_settle_on_open_flag(&self) -> Result<String, MessageRejectErrorEnum>

Gets SettleOnOpenFlag, Tag 966.

Source

pub fn has_settle_on_open_flag(&self) -> bool

Returns true if SettleOnOpenFlag is present, Tag 966.

Source

pub fn set_side(&mut self, v: String)

Sets Side, Tag 54.

Source

pub fn get_side(&self) -> Result<String, MessageRejectErrorEnum>

Gets Side, Tag 54.

Source

pub fn has_side(&self) -> bool

Returns true if Side is present, Tag 54.

Source

pub fn set_spread(&mut self, val: Decimal, scale: i32)

Sets Spread, Tag 218.

Source

pub fn get_spread(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets Spread, Tag 218.

Source

pub fn has_spread(&self) -> bool

Returns true if Spread is present, Tag 218.

Source

pub fn set_start_cash(&mut self, val: Decimal, scale: i32)

Sets StartCash, Tag 921.

Source

pub fn get_start_cash(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets StartCash, Tag 921.

Source

pub fn has_start_cash(&self) -> bool

Returns true if StartCash is present, Tag 921.

Source

pub fn set_start_date(&mut self, v: String)

Sets StartDate, Tag 916.

Source

pub fn get_start_date(&self) -> Result<String, MessageRejectErrorEnum>

Gets StartDate, Tag 916.

Source

pub fn has_start_date(&self) -> bool

Returns true if StartDate is present, Tag 916.

Source

pub fn set_state_or_province_of_issue(&mut self, v: String)

Sets StateOrProvinceOfIssue, Tag 471.

Source

pub fn get_state_or_province_of_issue( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets StateOrProvinceOfIssue, Tag 471.

Source

pub fn has_state_or_province_of_issue(&self) -> bool

Returns true if StateOrProvinceOfIssue is present, Tag 471.

Source

pub fn set_strike_currency(&mut self, v: String)

Sets StrikeCurrency, Tag 947.

Source

pub fn get_strike_currency(&self) -> Result<String, MessageRejectErrorEnum>

Gets StrikeCurrency, Tag 947.

Source

pub fn has_strike_currency(&self) -> bool

Returns true if StrikeCurrency is present, Tag 947.

Source

pub fn set_strike_multiplier(&mut self, val: Decimal, scale: i32)

Sets StrikeMultiplier, Tag 967.

Source

pub fn get_strike_multiplier(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets StrikeMultiplier, Tag 967.

Source

pub fn has_strike_multiplier(&self) -> bool

Returns true if StrikeMultiplier is present, Tag 967.

Source

pub fn set_strike_price(&mut self, val: Decimal, scale: i32)

Sets StrikePrice, Tag 202.

Source

pub fn get_strike_price(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets StrikePrice, Tag 202.

Source

pub fn has_strike_price(&self) -> bool

Returns true if StrikePrice is present, Tag 202.

Source

pub fn set_strike_value(&mut self, val: Decimal, scale: i32)

Sets StrikeValue, Tag 968.

Source

pub fn get_strike_value(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets StrikeValue, Tag 968.

Source

pub fn has_strike_value(&self) -> bool

Returns true if StrikeValue is present, Tag 968.

Source

pub fn set_symbol(&mut self, v: String)

Sets Symbol, Tag 55.

Source

pub fn get_symbol(&self) -> Result<String, MessageRejectErrorEnum>

Gets Symbol, Tag 55.

Source

pub fn has_symbol(&self) -> bool

Returns true if Symbol is present, Tag 55.

Source

pub fn set_symbol_sfx(&mut self, v: String)

Sets SymbolSfx, Tag 65.

Source

pub fn get_symbol_sfx(&self) -> Result<String, MessageRejectErrorEnum>

Gets SymbolSfx, Tag 65.

Source

pub fn has_symbol_sfx(&self) -> bool

Returns true if SymbolSfx is present, Tag 65.

Source

pub fn set_termination_type(&mut self, v: isize)

Sets TerminationType, Tag 788.

Source

pub fn get_termination_type(&self) -> Result<isize, MessageRejectErrorEnum>

Gets TerminationType, Tag 788.

Source

pub fn has_termination_type(&self) -> bool

Returns true if TerminationType is present, Tag 788.

Source

pub fn set_text(&mut self, v: String)

Sets Text, Tag 58.

Source

pub fn get_text(&self) -> Result<String, MessageRejectErrorEnum>

Gets Text, Tag 58.

Source

pub fn has_text(&self) -> bool

Returns true if Text is present, Tag 58.

Source

pub fn set_time_unit(&mut self, v: String)

Sets TimeUnit, Tag 997.

Source

pub fn get_time_unit(&self) -> Result<String, MessageRejectErrorEnum>

Gets TimeUnit, Tag 997.

Source

pub fn has_time_unit(&self) -> bool

Returns true if TimeUnit is present, Tag 997.

Source

pub fn set_total_net_value(&mut self, val: Decimal, scale: i32)

Sets TotalNetValue, Tag 900.

Source

pub fn get_total_net_value(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets TotalNetValue, Tag 900.

Source

pub fn has_total_net_value(&self) -> bool

Returns true if TotalNetValue is present, Tag 900.

Source

pub fn set_trading_session_id(&mut self, v: String)

Sets TradingSessionID, Tag 336.

Source

pub fn get_trading_session_id(&self) -> Result<String, MessageRejectErrorEnum>

Gets TradingSessionID, Tag 336.

Source

pub fn has_trading_session_id(&self) -> bool

Returns true if TradingSessionID is present, Tag 336.

Source

pub fn set_trading_session_sub_id(&mut self, v: String)

Sets TradingSessionSubID, Tag 625.

Source

pub fn get_trading_session_sub_id( &self, ) -> Result<String, MessageRejectErrorEnum>

Gets TradingSessionSubID, Tag 625.

Source

pub fn has_trading_session_sub_id(&self) -> bool

Returns true if TradingSessionSubID is present, Tag 625.

Source

pub fn set_transact_time(&mut self, v: Timestamp)

Sets TransactTime, Tag 60.

Source

pub fn get_transact_time(&self) -> Result<Timestamp, MessageRejectErrorEnum>

Gets TransactTime, Tag 60.

Source

pub fn has_transact_time(&self) -> bool

Returns true if TransactTime is present, Tag 60.

Source

pub fn set_unit_of_measure(&mut self, v: String)

Sets UnitOfMeasure, Tag 996.

Source

pub fn get_unit_of_measure(&self) -> Result<String, MessageRejectErrorEnum>

Gets UnitOfMeasure, Tag 996.

Source

pub fn has_unit_of_measure(&self) -> bool

Returns true if UnitOfMeasure is present, Tag 996.

Source

pub fn set_unit_of_measure_qty(&mut self, val: Decimal, scale: i32)

Sets UnitOfMeasureQty, Tag 1147.

Source

pub fn get_unit_of_measure_qty(&self) -> Result<Decimal, MessageRejectErrorEnum>

Gets UnitOfMeasureQty, Tag 1147.

Source

pub fn has_unit_of_measure_qty(&self) -> bool

Returns true if UnitOfMeasureQty is present, Tag 1147.

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