pub struct DeleteTaskRequestV1 { /* private fields */ }Expand description
删除任务请求(v1)
Implementations§
Source§impl DeleteTaskRequestV1
impl DeleteTaskRequestV1
pub fn new(config: Arc<Config>, task_id: impl Into<String>) -> Self
Sourcepub async fn execute(self) -> SDKResult<DeleteTaskResponseV1>
pub async fn execute(self) -> SDKResult<DeleteTaskResponseV1>
执行请求
Sourcepub async fn execute_with_options(
self,
option: RequestOption,
) -> SDKResult<DeleteTaskResponseV1>
pub async fn execute_with_options( self, option: RequestOption, ) -> SDKResult<DeleteTaskResponseV1>
执行请求(带选项)
Trait Implementations§
Source§impl Clone for DeleteTaskRequestV1
impl Clone for DeleteTaskRequestV1
Source§fn clone(&self) -> DeleteTaskRequestV1
fn clone(&self) -> DeleteTaskRequestV1
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 DeleteTaskRequestV1
impl !RefUnwindSafe for DeleteTaskRequestV1
impl Send for DeleteTaskRequestV1
impl Sync for DeleteTaskRequestV1
impl Unpin for DeleteTaskRequestV1
impl UnsafeUnpin for DeleteTaskRequestV1
impl !UnwindSafe for DeleteTaskRequestV1
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