pub trait PlansApi: Send + Sync {
// Required methods
fn get<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<PlanResponseModelListResponseModel, Error<GetError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_premium_plan<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), Error<GetPremiumPlanError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Required Methods§
Sourcefn get<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<PlanResponseModelListResponseModel, Error<GetError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<PlanResponseModelListResponseModel, Error<GetError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
GET /plans
GET /plans/premium