pub struct GetTaskRequest { /* private fields */ }Expand description
获取任务请求
Implementations§
Source§impl GetTaskRequest
impl GetTaskRequest
Sourcepub async fn execute(self) -> SDKResult<GetTaskResponse>
pub async fn execute(self) -> SDKResult<GetTaskResponse>
执行请求
Sourcepub async fn execute_with_options(
self,
option: RequestOption,
) -> SDKResult<GetTaskResponse>
pub async fn execute_with_options( self, option: RequestOption, ) -> SDKResult<GetTaskResponse>
执行请求(带选项)
Trait Implementations§
Source§impl Clone for GetTaskRequest
impl Clone for GetTaskRequest
Source§fn clone(&self) -> GetTaskRequest
fn clone(&self) -> GetTaskRequest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetTaskRequest
impl !RefUnwindSafe for GetTaskRequest
impl Send for GetTaskRequest
impl Sync for GetTaskRequest
impl Unpin for GetTaskRequest
impl UnsafeUnpin for GetTaskRequest
impl !UnwindSafe for GetTaskRequest
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