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