Trait Api

Source
pub trait Api {
    // Required methods
    fn login<'life0, 'async_trait>(
        &'life0 self,
        request: LoginRequest,
    ) -> Pin<Box<dyn Future<Output = Result<LoginResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn create_project<'life0, 'async_trait>(
        &'life0 self,
        request: CreateProjectRequest,
        token: String,
    ) -> Pin<Box<dyn Future<Output = Result<CreateProjectResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn register_task_version<'life0, 'async_trait>(
        &'life0 self,
        request: CreateTaskVersionRequest,
        token: String,
    ) -> Pin<Box<dyn Future<Output = Result<CreateTaskVersionResponse>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn login<'life0, 'async_trait>( &'life0 self, request: LoginRequest, ) -> Pin<Box<dyn Future<Output = Result<LoginResponse>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn create_project<'life0, 'async_trait>( &'life0 self, request: CreateProjectRequest, token: String, ) -> Pin<Box<dyn Future<Output = Result<CreateProjectResponse>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source

fn register_task_version<'life0, 'async_trait>( &'life0 self, request: CreateTaskVersionRequest, token: String, ) -> Pin<Box<dyn Future<Output = Result<CreateTaskVersionResponse>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§