Struct TradeCaptureReport

Source
pub struct TradeCaptureReport {
Show 200 fields pub appl_id: Option<FixString>, pub appl_seq_num: Option<SeqNum>, pub appl_last_seq_num: Option<SeqNum>, pub appl_resend_flag: Option<Boolean>, pub trade_report_id: Option<FixString>, pub trade_id: Option<FixString>, pub secondary_trade_id: Option<FixString>, pub firm_trade_id: Option<FixString>, pub secondary_firm_trade_id: Option<FixString>, pub trade_report_trans_type: Option<TradeReportTransType>, pub trade_report_type: Option<TradeReportType>, pub trd_rpt_status: Option<TrdRptStatus>, pub trade_request_id: Option<FixString>, pub trd_type: Option<TrdType>, pub trd_sub_type: Option<TrdSubType>, pub secondary_trd_type: Option<Int>, pub trade_handling_instr: Option<TradeHandlingInstr>, pub orig_trade_handling_instr: Option<Char>, pub orig_trade_date: Option<LocalMktDate>, pub orig_trade_id: Option<FixString>, pub orig_secondary_trade_id: Option<FixString>, pub transfer_reason: Option<FixString>, pub exec_type: Option<ExecType>, pub tot_num_trade_reports: Option<Int>, pub last_rpt_requested: Option<Boolean>, pub unsolicited_indicator: Option<Boolean>, pub subscription_request_type: Option<SubscriptionRequestType>, pub trade_report_ref_id: Option<FixString>, pub secondary_trade_report_ref_id: Option<FixString>, pub secondary_trade_report_id: Option<FixString>, pub trade_link_id: Option<FixString>, pub trd_match_id: Option<FixString>, pub exec_id: Option<FixString>, pub secondary_exec_id: Option<FixString>, pub exec_restatement_reason: Option<ExecRestatementReason>, pub previously_reported: Option<Boolean>, pub price_type: Option<PriceType>, pub root_parties: Option<Vec<RootParties>>, pub as_of_indicator: Option<AsOfIndicator>, pub settl_sess_id: Option<SettlSessId>, pub settl_sess_sub_id: Option<FixString>, pub symbol: Option<FixString>, pub symbol_sfx: Option<SymbolSfx>, pub security_id: Option<FixString>, pub security_id_source: Option<SecurityIdSource>, pub sec_alt_id_grp: Option<Vec<SecAltIdGrp>>, pub product: Option<Product>, pub product_complex: Option<FixString>, pub security_group: Option<FixString>, pub cfi_code: Option<FixString>, pub security_type: Option<SecurityType>, pub security_sub_type: Option<FixString>, pub maturity_month_year: Option<MonthYear>, pub maturity_date: Option<LocalMktDate>, pub maturity_time: Option<TzTimeOnly>, pub settle_on_open_flag: Option<FixString>, pub instrmt_assignment_method: Option<InstrmtAssignmentMethod>, pub security_status: Option<SecurityStatus>, pub coupon_payment_date: Option<LocalMktDate>, pub issue_date: Option<LocalMktDate>, pub repo_collateral_security_type: Option<FixString>, pub repurchase_term: Option<Int>, pub repurchase_rate: Option<Percentage>, pub factor: Option<Float>, pub credit_rating: Option<FixString>, pub instr_registry: Option<FixString>, pub country_of_issue: Option<Country>, pub state_or_province_of_issue: Option<FixString>, pub locale_of_issue: Option<FixString>, pub redemption_date: Option<LocalMktDate>, pub strike_price: Option<Price>, pub strike_currency: Option<Currency>, pub strike_multiplier: Option<Float>, pub strike_value: Option<Float>, pub opt_attribute: Option<Char>, pub contract_multiplier: Option<Float>, pub min_price_increment: Option<Float>, pub min_price_increment_amount: Option<Amt>, pub unit_of_measure: Option<UnitOfMeasure>, pub unit_of_measure_qty: Option<Qty>, pub price_unit_of_measure: Option<FixString>, pub price_unit_of_measure_qty: Option<Qty>, pub settl_method: Option<SettlMethod>, pub exercise_style: Option<ExerciseStyle>, pub opt_payout_amount: Option<Amt>, pub price_quote_method: Option<PriceQuoteMethod>, pub valuation_method: Option<ValuationMethod>, pub list_method: Option<ListMethod>, pub cap_price: Option<Price>, pub floor_price: Option<Price>, pub put_or_call: Option<PutOrCall>, pub flexible_indicator: Option<Boolean>, pub flex_product_eligibility_indicator: Option<Boolean>, pub time_unit: Option<TimeUnit>, pub coupon_rate: Option<Percentage>, pub security_exchange: Option<Exchange>, pub position_limit: Option<Int>, pub nt_position_limit: Option<Int>, pub issuer: Option<FixString>, pub encoded_issuer: Option<Data>, pub security_desc: Option<FixString>, pub encoded_security_desc: Option<Data>, pub security_xml: Option<XmlData>, pub security_xml_schema: Option<FixString>, pub pool: Option<FixString>, pub contract_settl_month: Option<MonthYear>, pub cp_program: Option<CpProgram>, pub cp_reg_type: Option<FixString>, pub evnt_grp: Option<Vec<EvntGrp>>, pub dated_date: Option<LocalMktDate>, pub interest_accrual_date: Option<LocalMktDate>, pub instrument_parties: Option<Vec<InstrumentParties>>, pub contract_multiplier_unit: Option<ContractMultiplierUnit>, pub flow_schedule_type: Option<FlowScheduleType>, pub restructuring_type: Option<RestructuringType>, pub seniority: Option<Seniority>, pub notional_percentage_outstanding: Option<Percentage>, pub original_notional_percentage_outstanding: Option<Percentage>, pub attachment_point: Option<Percentage>, pub detachment_point: Option<Percentage>, pub strike_price_determination_method: Option<StrikePriceDeterminationMethod>, pub strike_price_boundary_method: Option<StrikePriceBoundaryMethod>, pub strike_price_boundary_precision: Option<Percentage>, pub underlying_price_determination_method: Option<UnderlyingPriceDeterminationMethod>, pub opt_payout_type: Option<OptPayoutType>, pub complex_events: Option<Vec<ComplexEvents>>, pub agreement_desc: Option<FixString>, pub agreement_id: Option<FixString>, pub agreement_date: Option<LocalMktDate>, pub agreement_currency: Option<Currency>, pub termination_type: Option<TerminationType>, pub start_date: Option<LocalMktDate>, pub end_date: Option<LocalMktDate>, pub delivery_type: Option<DeliveryType>, pub margin_ratio: Option<Percentage>, pub qty_type: Option<QtyType>, pub yield_type: Option<YieldType>, pub yield_: Option<Percentage>, pub yield_calc_date: Option<LocalMktDate>, pub yield_redemption_date: Option<LocalMktDate>, pub yield_redemption_price: Option<Price>, pub yield_redemption_price_type: Option<Int>, pub und_instrmt_grp: Option<Vec<UndInstrmtGrp>>, pub underlying_trading_session_id: Option<FixString>, pub underlying_trading_session_sub_id: Option<FixString>, pub last_qty: Qty, pub last_px: Price, pub calculated_ccy_last_qty: Option<Qty>, pub currency: Option<Currency>, pub settl_currency: Option<Currency>, pub last_par_px: Option<Price>, pub last_spot_rate: Option<Price>, pub last_forward_points: Option<PriceOffset>, pub last_swap_points: Option<PriceOffset>, pub last_mkt: Option<Exchange>, pub trade_date: Option<LocalMktDate>, pub clearing_business_date: Option<LocalMktDate>, pub avg_px: Option<Price>, pub spread: Option<PriceOffset>, pub benchmark_curve_currency: Option<Currency>, pub benchmark_curve_name: Option<BenchmarkCurveName>, pub benchmark_curve_point: Option<FixString>, pub benchmark_price: Option<Price>, pub benchmark_price_type: Option<Int>, pub benchmark_security_id: Option<FixString>, pub benchmark_security_id_source: Option<FixString>, pub avg_px_indicator: Option<AvgPxIndicator>, pub position_amount_data: Option<Vec<PositionAmountData>>, pub multi_leg_reporting_type: Option<MultiLegReportingType>, pub trade_leg_ref_id: Option<FixString>, pub trd_instrmt_leg_grp: Option<Vec<TrdInstrmtLegGrp>>, pub transact_time: Option<UtcTimestamp>, pub trd_reg_timestamps: Option<Vec<TrdRegTimestamps>>, pub settl_type: Option<SettlType>, pub settl_date: Option<LocalMktDate>, pub underlying_settlement_date: Option<LocalMktDate>, pub match_status: Option<MatchStatus>, pub match_type: Option<MatchType>, pub trd_cap_rpt_side_grp: Vec<TrdCapRptSideGrp>, pub volatility: Option<Float>, pub dividend_yield: Option<Percentage>, pub risk_free_rate: Option<Float>, pub currency_ratio: Option<Float>, pub copy_msg_indicator: Option<Boolean>, pub trd_rep_indicators_grp: Option<Vec<TrdRepIndicatorsGrp>>, pub publish_trd_indicator: Option<Boolean>, pub trade_publish_indicator: Option<TradePublishIndicator>, pub short_sale_reason: Option<ShortSaleReason>, pub tier_code: Option<FixString>, pub message_event_source: Option<FixString>, pub last_update_time: Option<UtcTimestamp>, pub rnd_px: Option<Price>, pub tz_transact_time: Option<TzTimestamp>, pub reported_px_diff: Option<Boolean>, pub gross_trade_amt: Option<Amt>, pub reject_text: Option<FixString>, pub fee_multiplier: Option<Float>, pub venue_type: Option<VenueType>, pub market_segment_id: Option<FixString>, pub market_id: Option<Exchange>,
}

Fields§

§appl_id: Option<FixString>

Tag 1180.

§appl_seq_num: Option<SeqNum>

Tag 1181.

§appl_last_seq_num: Option<SeqNum>

Tag 1350.

§appl_resend_flag: Option<Boolean>

Tag 1352.

§trade_report_id: Option<FixString>

Tag 571.

§trade_id: Option<FixString>

Tag 1003.

§secondary_trade_id: Option<FixString>

Tag 1040.

§firm_trade_id: Option<FixString>

Tag 1041.

§secondary_firm_trade_id: Option<FixString>

Tag 1042.

§trade_report_trans_type: Option<TradeReportTransType>

Tag 487.

§trade_report_type: Option<TradeReportType>

Tag 856.

§trd_rpt_status: Option<TrdRptStatus>

Tag 939.

§trade_request_id: Option<FixString>

Tag 568.

§trd_type: Option<TrdType>

Tag 828.

§trd_sub_type: Option<TrdSubType>

Tag 829.

§secondary_trd_type: Option<Int>

Tag 855.

§trade_handling_instr: Option<TradeHandlingInstr>

Tag 1123.

§orig_trade_handling_instr: Option<Char>

Tag 1124.

§orig_trade_date: Option<LocalMktDate>

Tag 1125.

§orig_trade_id: Option<FixString>

Tag 1126.

§orig_secondary_trade_id: Option<FixString>

Tag 1127.

§transfer_reason: Option<FixString>

Tag 830.

§exec_type: Option<ExecType>

Tag 150.

§tot_num_trade_reports: Option<Int>

Tag 748.

§last_rpt_requested: Option<Boolean>

Tag 912.

§unsolicited_indicator: Option<Boolean>

Tag 325.

§subscription_request_type: Option<SubscriptionRequestType>

Tag 263.

§trade_report_ref_id: Option<FixString>

Tag 572.

§secondary_trade_report_ref_id: Option<FixString>

Tag 881.

§secondary_trade_report_id: Option<FixString>

Tag 818.

§trade_link_id: Option<FixString>

Tag 820.

§trd_match_id: Option<FixString>

Tag 880.

§exec_id: Option<FixString>

Tag 17.

§secondary_exec_id: Option<FixString>

Tag 527.

§exec_restatement_reason: Option<ExecRestatementReason>

Tag 378.

§previously_reported: Option<Boolean>

Tag 570.

§price_type: Option<PriceType>

Tag 423.

§root_parties: Option<Vec<RootParties>>

Tag 1116.

§as_of_indicator: Option<AsOfIndicator>

Tag 1015.

§settl_sess_id: Option<SettlSessId>

Tag 716.

§settl_sess_sub_id: Option<FixString>

Tag 717.

§symbol: Option<FixString>

Tag 55.

§symbol_sfx: Option<SymbolSfx>

Tag 65.

§security_id: Option<FixString>

Tag 48.

§security_id_source: Option<SecurityIdSource>

Tag 22.

§sec_alt_id_grp: Option<Vec<SecAltIdGrp>>

Tag 454.

§product: Option<Product>

Tag 460.

§product_complex: Option<FixString>

Tag 1227.

§security_group: Option<FixString>

Tag 1151.

§cfi_code: Option<FixString>

Tag 461.

§security_type: Option<SecurityType>

Tag 167.

§security_sub_type: Option<FixString>

Tag 762.

§maturity_month_year: Option<MonthYear>

Tag 200.

§maturity_date: Option<LocalMktDate>

Tag 541.

§maturity_time: Option<TzTimeOnly>

Tag 1079.

§settle_on_open_flag: Option<FixString>

Tag 966.

§instrmt_assignment_method: Option<InstrmtAssignmentMethod>

Tag 1049.

§security_status: Option<SecurityStatus>

Tag 965.

§coupon_payment_date: Option<LocalMktDate>

Tag 224.

§issue_date: Option<LocalMktDate>

Tag 225.

§repo_collateral_security_type: Option<FixString>

Tag 239.

§repurchase_term: Option<Int>

Tag 226.

§repurchase_rate: Option<Percentage>

Tag 227.

§factor: Option<Float>

Tag 228.

§credit_rating: Option<FixString>

Tag 255.

§instr_registry: Option<FixString>

Tag 543.

§country_of_issue: Option<Country>

Tag 470.

§state_or_province_of_issue: Option<FixString>

Tag 471.

§locale_of_issue: Option<FixString>

Tag 472.

§redemption_date: Option<LocalMktDate>

Tag 240.

§strike_price: Option<Price>

Tag 202.

§strike_currency: Option<Currency>

Tag 947.

§strike_multiplier: Option<Float>

Tag 967.

§strike_value: Option<Float>

Tag 968.

§opt_attribute: Option<Char>

Tag 206.

§contract_multiplier: Option<Float>

Tag 231.

§min_price_increment: Option<Float>

Tag 969.

§min_price_increment_amount: Option<Amt>

Tag 1146.

§unit_of_measure: Option<UnitOfMeasure>

Tag 996.

§unit_of_measure_qty: Option<Qty>

Tag 1147.

§price_unit_of_measure: Option<FixString>

Tag 1191.

§price_unit_of_measure_qty: Option<Qty>

Tag 1192.

§settl_method: Option<SettlMethod>

Tag 1193.

§exercise_style: Option<ExerciseStyle>

Tag 1194.

§opt_payout_amount: Option<Amt>

Tag 1195.

§price_quote_method: Option<PriceQuoteMethod>

Tag 1196.

§valuation_method: Option<ValuationMethod>

Tag 1197.

§list_method: Option<ListMethod>

Tag 1198.

§cap_price: Option<Price>

Tag 1199.

§floor_price: Option<Price>

Tag 1200.

§put_or_call: Option<PutOrCall>

Tag 201.

§flexible_indicator: Option<Boolean>

Tag 1244.

§flex_product_eligibility_indicator: Option<Boolean>

Tag 1242.

§time_unit: Option<TimeUnit>

Tag 997.

§coupon_rate: Option<Percentage>

Tag 223.

§security_exchange: Option<Exchange>

Tag 207.

§position_limit: Option<Int>

Tag 970.

§nt_position_limit: Option<Int>

Tag 971.

§issuer: Option<FixString>

Tag 106.

§encoded_issuer: Option<Data>

Tag 349.

§security_desc: Option<FixString>

Tag 107.

§encoded_security_desc: Option<Data>

Tag 351.

§security_xml: Option<XmlData>

Tag 1185.

§security_xml_schema: Option<FixString>

Tag 1186.

§pool: Option<FixString>

Tag 691.

§contract_settl_month: Option<MonthYear>

Tag 667.

§cp_program: Option<CpProgram>

Tag 875.

§cp_reg_type: Option<FixString>

Tag 876.

§evnt_grp: Option<Vec<EvntGrp>>

Tag 864.

§dated_date: Option<LocalMktDate>

Tag 873.

§interest_accrual_date: Option<LocalMktDate>

Tag 874.

§instrument_parties: Option<Vec<InstrumentParties>>

Tag 1018.

§contract_multiplier_unit: Option<ContractMultiplierUnit>

Tag 1435.

§flow_schedule_type: Option<FlowScheduleType>

Tag 1439.

§restructuring_type: Option<RestructuringType>

Tag 1449.

§seniority: Option<Seniority>

Tag 1450.

§notional_percentage_outstanding: Option<Percentage>

Tag 1451.

§original_notional_percentage_outstanding: Option<Percentage>

Tag 1452.

§attachment_point: Option<Percentage>

Tag 1457.

§detachment_point: Option<Percentage>

Tag 1458.

§strike_price_determination_method: Option<StrikePriceDeterminationMethod>

Tag 1478.

§strike_price_boundary_method: Option<StrikePriceBoundaryMethod>

Tag 1479.

§strike_price_boundary_precision: Option<Percentage>

Tag 1480.

§underlying_price_determination_method: Option<UnderlyingPriceDeterminationMethod>

Tag 1481.

§opt_payout_type: Option<OptPayoutType>

Tag 1482.

§complex_events: Option<Vec<ComplexEvents>>

Tag 1483.

§agreement_desc: Option<FixString>

Tag 913.

§agreement_id: Option<FixString>

Tag 914.

§agreement_date: Option<LocalMktDate>

Tag 915.

§agreement_currency: Option<Currency>

Tag 918.

§termination_type: Option<TerminationType>

Tag 788.

§start_date: Option<LocalMktDate>

Tag 916.

§end_date: Option<LocalMktDate>

Tag 917.

§delivery_type: Option<DeliveryType>

Tag 919.

§margin_ratio: Option<Percentage>

Tag 898.

§qty_type: Option<QtyType>

Tag 854.

§yield_type: Option<YieldType>

Tag 235.

§yield_: Option<Percentage>

Tag 236.

§yield_calc_date: Option<LocalMktDate>

Tag 701.

§yield_redemption_date: Option<LocalMktDate>

Tag 696.

§yield_redemption_price: Option<Price>

Tag 697.

§yield_redemption_price_type: Option<Int>

Tag 698.

§und_instrmt_grp: Option<Vec<UndInstrmtGrp>>

Tag 711.

§underlying_trading_session_id: Option<FixString>

Tag 822.

§underlying_trading_session_sub_id: Option<FixString>

Tag 823.

§last_qty: Qty

Tag 32.

§last_px: Price

Tag 31.

§calculated_ccy_last_qty: Option<Qty>

Tag 1056.

§currency: Option<Currency>

Tag 15.

§settl_currency: Option<Currency>

Tag 120.

§last_par_px: Option<Price>

Tag 669.

§last_spot_rate: Option<Price>

Tag 194.

§last_forward_points: Option<PriceOffset>

Tag 195.

§last_swap_points: Option<PriceOffset>

Tag 1071.

§last_mkt: Option<Exchange>

Tag 30.

§trade_date: Option<LocalMktDate>

Tag 75.

§clearing_business_date: Option<LocalMktDate>

Tag 715.

§avg_px: Option<Price>

Tag 6.

§spread: Option<PriceOffset>

Tag 218.

§benchmark_curve_currency: Option<Currency>

Tag 220.

§benchmark_curve_name: Option<BenchmarkCurveName>

Tag 221.

§benchmark_curve_point: Option<FixString>

Tag 222.

§benchmark_price: Option<Price>

Tag 662.

§benchmark_price_type: Option<Int>

Tag 663.

§benchmark_security_id: Option<FixString>

Tag 699.

§benchmark_security_id_source: Option<FixString>

Tag 761.

§avg_px_indicator: Option<AvgPxIndicator>

Tag 819.

§position_amount_data: Option<Vec<PositionAmountData>>

Tag 753.

§multi_leg_reporting_type: Option<MultiLegReportingType>

Tag 442.

§trade_leg_ref_id: Option<FixString>

Tag 824.

§trd_instrmt_leg_grp: Option<Vec<TrdInstrmtLegGrp>>

Tag 555.

§transact_time: Option<UtcTimestamp>

Tag 60.

§trd_reg_timestamps: Option<Vec<TrdRegTimestamps>>

Tag 768.

§settl_type: Option<SettlType>

Tag 63.

§settl_date: Option<LocalMktDate>

Tag 64.

§underlying_settlement_date: Option<LocalMktDate>

Tag 987.

§match_status: Option<MatchStatus>

Tag 573.

§match_type: Option<MatchType>

Tag 574.

§trd_cap_rpt_side_grp: Vec<TrdCapRptSideGrp>

Tag 552.

§volatility: Option<Float>

Tag 1188.

§dividend_yield: Option<Percentage>

Tag 1380.

§risk_free_rate: Option<Float>

Tag 1190.

§currency_ratio: Option<Float>

Tag 1382.

§copy_msg_indicator: Option<Boolean>

Tag 797.

§trd_rep_indicators_grp: Option<Vec<TrdRepIndicatorsGrp>>

Tag 1387.

§publish_trd_indicator: Option<Boolean>

Tag 852.

§trade_publish_indicator: Option<TradePublishIndicator>

Tag 1390.

§short_sale_reason: Option<ShortSaleReason>

Tag 853.

§tier_code: Option<FixString>

Tag 994.

§message_event_source: Option<FixString>

Tag 1011.

§last_update_time: Option<UtcTimestamp>

Tag 779.

§rnd_px: Option<Price>

Tag 991.

§tz_transact_time: Option<TzTimestamp>

Tag 1132.

§reported_px_diff: Option<Boolean>

Tag 1134.

§gross_trade_amt: Option<Amt>

Tag 381.

§reject_text: Option<FixString>

Tag 1328.

§fee_multiplier: Option<Float>

Tag 1329.

§venue_type: Option<VenueType>

Tag 1430.

§market_segment_id: Option<FixString>

Tag 1300.

§market_id: Option<Exchange>

Tag 1301.

Implementations§

Source§

impl TradeCaptureReport

Source

pub const fn msg_type(&self) -> MsgType

Source

pub const fn msg_cat(&self) -> MsgCat

Trait Implementations§

Source§

impl Clone for TradeCaptureReport

Source§

fn clone(&self) -> TradeCaptureReport

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 TradeCaptureReport

Source§

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

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

impl Default for TradeCaptureReport

Source§

fn default() -> TradeCaptureReport

Returns the “default value” for a type. Read more
Source§

impl From<TradeCaptureReport> for Message

Source§

fn from(msg: TradeCaptureReport) -> Message

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> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more