financial_api/fund/diagnostics.rs
1use crate::endpoints;
2use crate::{Client, Error, FundDiagnosticsData, FundType, Response, Thscode};
3
4impl Client {
5 /// Fetch fund diagnostic dimensions.
6 pub async fn fund_diagnostics_detail(
7 &self,
8 fund_type: FundType,
9 thscode: &Thscode,
10 ) -> Result<Response<FundDiagnosticsData>, Error> {
11 self.fund_detail(endpoints::FUND_DIAGNOSTICS, fund_type, thscode)
12 .await
13 }
14}