pub struct Step {
pub id: StepId,
pub name: Option<String>,
pub on: Option<Condition>,
pub container: Option<ContainerOptions>,
pub run: String,
pub continue_on_error: bool,
pub environments: EnvironmentVariables,
pub secrets: Vec<String>,
pub timeout: Duration,
}
Fields§
§id: StepId
§name: Option<String>
§on: Option<Condition>
§container: Option<ContainerOptions>
§run: String
§continue_on_error: bool
§environments: EnvironmentVariables
§secrets: Vec<String>
§timeout: Duration
Implementations§
Source§impl Step
impl Step
pub async fn should_skip(&self, ctx: &ExecutionContext) -> bool
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