pub struct WorkflowTask {Show 14 fields
pub always_run: Option<bool>,
pub condition: Option<String>,
pub continue_on_error: Option<bool>,
pub definition_type: Option<String>,
pub enabled: Option<bool>,
pub environment: Option<Value>,
pub inputs: Option<Value>,
pub name: Option<String>,
pub override_inputs: Option<Value>,
pub ref_name: Option<String>,
pub retry_count_on_task_failure: Option<i32>,
pub task_id: Option<String>,
pub timeout_in_minutes: Option<i32>,
pub version: Option<String>,
}Fields§
§always_run: Option<bool>Gets or sets as the task always run or not.
condition: Option<String>Gets or sets the task condition.
continue_on_error: Option<bool>Gets or sets as the task continue run on error or not.
definition_type: Option<String>Gets or sets the task definition type. Example:- ‘Agent’, DeploymentGroup’, ‘Server’ or ‘ServerGate’.
enabled: Option<bool>Gets or sets as the task enabled or not.
environment: Option<Value>Gets or sets the task environment variables.
inputs: Option<Value>Gets or sets the task inputs.
name: Option<String>Gets or sets the name of the task.
override_inputs: Option<Value>Gets or sets the task override inputs.
ref_name: Option<String>Gets or sets the reference name of the task.
retry_count_on_task_failure: Option<i32>Gets or sets the task retryCount.
task_id: Option<String>Gets or sets the ID of the task.
timeout_in_minutes: Option<i32>Gets or sets the task timeout.
version: Option<String>Gets or sets the version of the task.
Implementations§
Source§impl WorkflowTask
impl WorkflowTask
Trait Implementations§
Source§impl Clone for WorkflowTask
impl Clone for WorkflowTask
Source§fn clone(&self) -> WorkflowTask
fn clone(&self) -> WorkflowTask
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 moreSource§impl Debug for WorkflowTask
impl Debug for WorkflowTask
Source§impl Default for WorkflowTask
impl Default for WorkflowTask
Source§fn default() -> WorkflowTask
fn default() -> WorkflowTask
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for WorkflowTask
impl<'de> Deserialize<'de> for WorkflowTask
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 WorkflowTask
impl PartialEq for WorkflowTask
Source§impl Serialize for WorkflowTask
impl Serialize for WorkflowTask
impl StructuralPartialEq for WorkflowTask
Auto Trait Implementations§
impl Freeze for WorkflowTask
impl RefUnwindSafe for WorkflowTask
impl Send for WorkflowTask
impl Sync for WorkflowTask
impl Unpin for WorkflowTask
impl UnwindSafe for WorkflowTask
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