pub trait ProjectCrudOperations {
    // Required methods
    fn create_project<'life0, 'async_trait>(
        &'life0 self,
        input: CreateProjectInput
    ) -> Pin<Box<dyn Future<Output = Result<Project, SDKError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_project<'life0, 'async_trait>(
        &'life0 self,
        id: Uuid
    ) -> Pin<Box<dyn Future<Output = Result<Project, SDKError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn get_projects<'life0, 'async_trait>(
        &'life0 self,
        input: GetProjectsInput
    ) -> Pin<Box<dyn Future<Output = Result<Vec<Project>, SDKError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn update_project<'life0, 'async_trait>(
        &'life0 self,
        id: Uuid,
        input: UpdateProjectInput
    ) -> Pin<Box<dyn Future<Output = Result<Project, SDKError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
    fn delete_project<'life0, 'async_trait>(
        &'life0 self,
        id: Uuid
    ) -> Pin<Box<dyn Future<Output = Result<Project, SDKError>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

source

fn create_project<'life0, 'async_trait>( &'life0 self, input: CreateProjectInput ) -> Pin<Box<dyn Future<Output = Result<Project, SDKError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn get_project<'life0, 'async_trait>( &'life0 self, id: Uuid ) -> Pin<Box<dyn Future<Output = Result<Project, SDKError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn get_projects<'life0, 'async_trait>( &'life0 self, input: GetProjectsInput ) -> Pin<Box<dyn Future<Output = Result<Vec<Project>, SDKError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn update_project<'life0, 'async_trait>( &'life0 self, id: Uuid, input: UpdateProjectInput ) -> Pin<Box<dyn Future<Output = Result<Project, SDKError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

source

fn delete_project<'life0, 'async_trait>( &'life0 self, id: Uuid ) -> Pin<Box<dyn Future<Output = Result<Project, SDKError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Implementors§