pub struct Step {
pub id: Option<String>,
pub if: Option<If>,
pub name: Option<String>,
pub continue_on_error: BoE,
pub body: StepBody,
}
Expand description
An individual composite action step.
This is similar, but not identical to crate::workflow::job::Step
.
Fields§
§id: Option<String>
An optional ID for this composite step.
if: Option<If>
An optional expression that prevents this composite step from running unless it evaluates to true
.
name: Option<String>
An optional name for this composite step.
continue_on_error: BoE
An optional boolean or expression that, if true
, prevents the job from failing when
this composite step fails.
body: StepBody
The run:
or uses:
body for this composite 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