pub struct TasksClient { /* private fields */ }Implementations§
Source§impl TasksClient
impl TasksClient
pub async fn create_task( &self, group_id: &str, pipeline_id: &str, req_task: ReqTask, ) -> Result<RespResourceUrl, Error<CreateTaskError>>
pub async fn delete_task( &self, group_id: &str, pipeline_id: &str, task_id: &str, ) -> Result<RespString, Error<DeleteTaskError>>
pub async fn get_task( &self, group_id: &str, pipeline_id: &str, task_id: &str, ) -> Result<RespTask, Error<GetTaskError>>
pub async fn list_tasks( &self, group_id: &str, pipeline_id: &str, ) -> Result<RespTaskList, Error<ListTasksError>>
pub async fn patch_task( &self, group_id: &str, pipeline_id: &str, task_id: &str, task: Task, ) -> Result<RespTask, Error<PatchTaskError>>
Trait Implementations§
Source§impl Clone for TasksClient
impl Clone for TasksClient
Source§fn clone(&self) -> TasksClient
fn clone(&self) -> TasksClient
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TasksClient
impl !RefUnwindSafe for TasksClient
impl Send for TasksClient
impl Sync for TasksClient
impl Unpin for TasksClient
impl !UnwindSafe for TasksClient
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more