pub struct AddDependenciesRequest { /* private fields */ }Expand description
添加任务依赖请求
Implementations§
Source§impl AddDependenciesRequest
impl AddDependenciesRequest
Sourcepub fn dependencies(self, dependencies: Vec<String>) -> Self
pub fn dependencies(self, dependencies: Vec<String>) -> Self
设置依赖的任务 GUID 列表
Sourcepub fn add_dependency(self, dependency_task_guid: impl Into<String>) -> Self
pub fn add_dependency(self, dependency_task_guid: impl Into<String>) -> Self
添加单个依赖任务
Sourcepub async fn execute(self) -> SDKResult<AddDependenciesResponse>
pub async fn execute(self) -> SDKResult<AddDependenciesResponse>
执行请求
Sourcepub async fn execute_with_options(
self,
option: RequestOption,
) -> SDKResult<AddDependenciesResponse>
pub async fn execute_with_options( self, option: RequestOption, ) -> SDKResult<AddDependenciesResponse>
执行请求(带选项)
Trait Implementations§
Source§impl Clone for AddDependenciesRequest
impl Clone for AddDependenciesRequest
Source§fn clone(&self) -> AddDependenciesRequest
fn clone(&self) -> AddDependenciesRequest
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 AddDependenciesRequest
impl !RefUnwindSafe for AddDependenciesRequest
impl Send for AddDependenciesRequest
impl Sync for AddDependenciesRequest
impl Unpin for AddDependenciesRequest
impl UnsafeUnpin for AddDependenciesRequest
impl !UnwindSafe for AddDependenciesRequest
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