Trait PlansApi

Source
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§

Source

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

Source

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,

GET /plans/premium

Implementors§