pub struct SetAncestorTaskRequest { /* private fields */ }Expand description
设置父任务请求。
Implementations§
Source§impl SetAncestorTaskRequest
impl SetAncestorTaskRequest
Sourcepub fn ancestor_guid(self, ancestor_guid: impl Into<String>) -> Self
pub fn ancestor_guid(self, ancestor_guid: impl Into<String>) -> Self
设置父任务 GUID。
Sourcepub fn user_id_type(self, user_id_type: impl Into<String>) -> Self
pub fn user_id_type(self, user_id_type: impl Into<String>) -> Self
设置用户 ID 类型。
Sourcepub async fn execute(self) -> SDKResult<SetAncestorTaskResponse>
pub async fn execute(self) -> SDKResult<SetAncestorTaskResponse>
执行请求。
Sourcepub async fn execute_with_options(
self,
option: RequestOption,
) -> SDKResult<SetAncestorTaskResponse>
pub async fn execute_with_options( self, option: RequestOption, ) -> SDKResult<SetAncestorTaskResponse>
执行请求(带选项)。
Trait Implementations§
Source§impl Clone for SetAncestorTaskRequest
impl Clone for SetAncestorTaskRequest
Source§fn clone(&self) -> SetAncestorTaskRequest
fn clone(&self) -> SetAncestorTaskRequest
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 SetAncestorTaskRequest
impl !RefUnwindSafe for SetAncestorTaskRequest
impl Send for SetAncestorTaskRequest
impl Sync for SetAncestorTaskRequest
impl Unpin for SetAncestorTaskRequest
impl UnsafeUnpin for SetAncestorTaskRequest
impl !UnwindSafe for SetAncestorTaskRequest
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