pub struct Step {
pub id: Option<String>,
pub if: Option<If>,
pub name: Option<String>,
pub timeout_minutes: Option<u64>,
pub continue_on_error: BoE,
pub body: StepBody,
}
Fields§
§id: Option<String>
An optional ID for this step.
if: Option<If>
An optional expression that prevents this step from running unless it evaluates to true
.
name: Option<String>
An optional name for this step.
timeout_minutes: Option<u64>
An optional timeout for this step, in minutes.
continue_on_error: BoE
An optional boolean or expression that, if true
, prevents the job from failing when
this step fails.
body: StepBody
The run:
or uses:
body for this step.
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 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