financial_api/fund/
diagnostics.rs1use crate::endpoints;
2use crate::{Client, Error, FundDiagnosticsData, FundType, Response, Thscode, ValidationError};
3
4impl Client {
5 #[doc = concat!(
9 "```no_run\n",
10 include_str!("../../examples/fund_diagnostics_detail.rs"),
11 "\n```"
12 )]
13 pub async fn fund_diagnostics_detail(
14 &self,
15 fund_type: FundType,
16 thscode: impl TryInto<Thscode, Error: Into<ValidationError>>,
17 ) -> Result<Response<FundDiagnosticsData>, Error> {
18 self.fund_detail(endpoints::FUND_DIAGNOSTICS, fund_type, thscode)
19 .await
20 }
21}