pub struct Step {
pub name: Option<String>,
pub display_name: Option<String>,
pub condition: Option<String>,
pub continue_on_error: BoolOrExpression,
pub enabled: bool,
pub timeout_in_minutes: Option<u32>,
pub retry_count_on_task_failure: Option<u32>,
pub env: HashMap<String, String>,
pub action: StepAction,
}Fields§
§name: Option<String>Step name for output references
display_name: Option<String>Display name in UI
condition: Option<String>Condition for running this step
continue_on_error: BoolOrExpressionContinue job on step failure
enabled: boolEnable/disable step
timeout_in_minutes: Option<u32>Step timeout
retry_count_on_task_failure: Option<u32>Retry count on failure
env: HashMap<String, String>Step-level environment variables
action: StepActionThe action to perform (flattened from different step types)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Step
impl<'de> Deserialize<'de> for Step
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
Auto Trait Implementations§
impl Freeze for Step
impl RefUnwindSafe for Step
impl Send for Step
impl Sync for Step
impl Unpin for Step
impl UnsafeUnpin for Step
impl UnwindSafe for Step
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more