pub struct TaskGroupStep {
pub always_run: Option<bool>,
pub condition: Option<String>,
pub continue_on_error: Option<bool>,
pub display_name: Option<String>,
pub enabled: Option<bool>,
pub environment: Option<Value>,
pub inputs: Option<Value>,
pub retry_count_on_task_failure: Option<i32>,
pub task: Option<TaskDefinitionReference>,
pub timeout_in_minutes: Option<i32>,
}
Expand description
Represents tasks in the task group.
Fields§
§always_run: Option<bool>
Gets or sets as ‘true’ to run the task always, ‘false’ otherwise.
condition: Option<String>
Gets or sets condition for the task.
continue_on_error: Option<bool>
Gets or sets as ‘true’ to continue on error, ‘false’ otherwise.
display_name: Option<String>
Gets or sets the display name.
enabled: Option<bool>
Gets or sets as task is enabled or not.
environment: Option<Value>
Gets dictionary of environment variables.
inputs: Option<Value>
Gets or sets dictionary of inputs.
retry_count_on_task_failure: Option<i32>
Gets or sets the maximum number of retries
task: Option<TaskDefinitionReference>
§timeout_in_minutes: Option<i32>
Gets or sets the maximum time, in minutes, that a task is allowed to execute on agent before being cancelled by server. A zero value indicates an infinite timeout.
Implementations§
source§impl TaskGroupStep
impl TaskGroupStep
Trait Implementations§
source§impl Clone for TaskGroupStep
impl Clone for TaskGroupStep
source§fn clone(&self) -> TaskGroupStep
fn clone(&self) -> TaskGroupStep
Returns a copy 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 moresource§impl Debug for TaskGroupStep
impl Debug for TaskGroupStep
source§impl Default for TaskGroupStep
impl Default for TaskGroupStep
source§fn default() -> TaskGroupStep
fn default() -> TaskGroupStep
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for TaskGroupStep
impl<'de> Deserialize<'de> for TaskGroupStep
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for TaskGroupStep
impl PartialEq for TaskGroupStep
source§fn eq(&self, other: &TaskGroupStep) -> bool
fn eq(&self, other: &TaskGroupStep) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for TaskGroupStep
impl Serialize for TaskGroupStep
impl StructuralPartialEq for TaskGroupStep
Auto Trait Implementations§
impl RefUnwindSafe for TaskGroupStep
impl Send for TaskGroupStep
impl Sync for TaskGroupStep
impl Unpin for TaskGroupStep
impl UnwindSafe for TaskGroupStep
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