Trait ToolsApi

Source
pub trait ToolsApi: Send + Sync {
    // Required methods
    fn tool_controller_create<'tool_controller_create_request, 'life0, 'async_trait>(
        &'life0 self,
        tool_controller_create_request: ToolControllerCreateRequest,
    ) -> Pin<Box<dyn Future<Output = Result<ToolControllerFindAll200ResponseInner, Error<ToolControllerCreateError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'tool_controller_create_request: 'async_trait,
             'life0: 'async_trait;
    fn tool_controller_find_all<'limit, 'created_at_gt, 'created_at_lt, 'created_at_ge, 'created_at_le, 'updated_at_gt, 'updated_at_lt, 'updated_at_ge, 'updated_at_le, 'life0, 'async_trait>(
        &'life0 self,
        limit: Option<f64>,
        created_at_gt: Option<String>,
        created_at_lt: Option<String>,
        created_at_ge: Option<String>,
        created_at_le: Option<String>,
        updated_at_gt: Option<String>,
        updated_at_lt: Option<String>,
        updated_at_ge: Option<String>,
        updated_at_le: Option<String>,
    ) -> Pin<Box<dyn Future<Output = Result<Vec<ToolControllerFindAll200ResponseInner>, Error<ToolControllerFindAllError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'limit: 'async_trait,
             'created_at_gt: 'async_trait,
             'created_at_lt: 'async_trait,
             'created_at_ge: 'async_trait,
             'created_at_le: 'async_trait,
             'updated_at_gt: 'async_trait,
             'updated_at_lt: 'async_trait,
             'updated_at_ge: 'async_trait,
             'updated_at_le: 'async_trait,
             'life0: 'async_trait;
    fn tool_controller_find_one<'id, 'life0, 'async_trait>(
        &'life0 self,
        id: &'id str,
    ) -> Pin<Box<dyn Future<Output = Result<ToolControllerFindAll200ResponseInner, Error<ToolControllerFindOneError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'id: 'async_trait,
             'life0: 'async_trait;
    fn tool_controller_remove<'id, 'life0, 'async_trait>(
        &'life0 self,
        id: &'id str,
    ) -> Pin<Box<dyn Future<Output = Result<ToolControllerFindAll200ResponseInner, Error<ToolControllerRemoveError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'id: 'async_trait,
             'life0: 'async_trait;
    fn tool_controller_update<'id, 'tool_controller_update_request, 'life0, 'async_trait>(
        &'life0 self,
        id: &'id str,
        tool_controller_update_request: ToolControllerUpdateRequest,
    ) -> Pin<Box<dyn Future<Output = Result<ToolControllerFindAll200ResponseInner, Error<ToolControllerUpdateError>>> + Send + 'async_trait>>
       where Self: 'async_trait,
             'id: 'async_trait,
             'tool_controller_update_request: 'async_trait,
             'life0: 'async_trait;
}

Required Methods§

Source

fn tool_controller_create<'tool_controller_create_request, 'life0, 'async_trait>( &'life0 self, tool_controller_create_request: ToolControllerCreateRequest, ) -> Pin<Box<dyn Future<Output = Result<ToolControllerFindAll200ResponseInner, Error<ToolControllerCreateError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'tool_controller_create_request: 'async_trait, 'life0: 'async_trait,

POST /tool

Source

fn tool_controller_find_all<'limit, 'created_at_gt, 'created_at_lt, 'created_at_ge, 'created_at_le, 'updated_at_gt, 'updated_at_lt, 'updated_at_ge, 'updated_at_le, 'life0, 'async_trait>( &'life0 self, limit: Option<f64>, created_at_gt: Option<String>, created_at_lt: Option<String>, created_at_ge: Option<String>, created_at_le: Option<String>, updated_at_gt: Option<String>, updated_at_lt: Option<String>, updated_at_ge: Option<String>, updated_at_le: Option<String>, ) -> Pin<Box<dyn Future<Output = Result<Vec<ToolControllerFindAll200ResponseInner>, Error<ToolControllerFindAllError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'limit: 'async_trait, 'created_at_gt: 'async_trait, 'created_at_lt: 'async_trait, 'created_at_ge: 'async_trait, 'created_at_le: 'async_trait, 'updated_at_gt: 'async_trait, 'updated_at_lt: 'async_trait, 'updated_at_ge: 'async_trait, 'updated_at_le: 'async_trait, 'life0: 'async_trait,

GET /tool

Source

fn tool_controller_find_one<'id, 'life0, 'async_trait>( &'life0 self, id: &'id str, ) -> Pin<Box<dyn Future<Output = Result<ToolControllerFindAll200ResponseInner, Error<ToolControllerFindOneError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'id: 'async_trait, 'life0: 'async_trait,

GET /tool/{id}

Source

fn tool_controller_remove<'id, 'life0, 'async_trait>( &'life0 self, id: &'id str, ) -> Pin<Box<dyn Future<Output = Result<ToolControllerFindAll200ResponseInner, Error<ToolControllerRemoveError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'id: 'async_trait, 'life0: 'async_trait,

DELETE /tool/{id}

Source

fn tool_controller_update<'id, 'tool_controller_update_request, 'life0, 'async_trait>( &'life0 self, id: &'id str, tool_controller_update_request: ToolControllerUpdateRequest, ) -> Pin<Box<dyn Future<Output = Result<ToolControllerFindAll200ResponseInner, Error<ToolControllerUpdateError>>> + Send + 'async_trait>>
where Self: 'async_trait, 'id: 'async_trait, 'tool_controller_update_request: 'async_trait, 'life0: 'async_trait,

PATCH /tool/{id}

Implementors§