pub struct Step<A> { /* private fields */ }
Expand description
Represents a step in the workflow.
Implementations§
Source§impl Step<Run>
impl Step<Run>
Sourcepub fn if_condition(self, value: impl Into<Expression>) -> Self
pub fn if_condition(self, value: impl Into<Expression>) -> Self
Sets the if_condition
field of this struct.
Sourcepub fn timeout_minutes(self, value: impl Into<u32>) -> Self
pub fn timeout_minutes(self, value: impl Into<u32>) -> Self
Sets the timeout_minutes
field of this struct.
Sourcepub fn continue_on_error(self, value: impl Into<bool>) -> Self
pub fn continue_on_error(self, value: impl Into<bool>) -> Self
Sets the continue_on_error
field of this struct.
Sourcepub fn working_directory(self, value: impl Into<String>) -> Self
pub fn working_directory(self, value: impl Into<String>) -> Self
Sets the working_directory
field of this struct.
Sourcepub fn retry(self, value: impl Into<RetryStrategy>) -> Self
pub fn retry(self, value: impl Into<RetryStrategy>) -> Self
Sets the retry
field of this struct.
Source§impl Step<Use>
impl Step<Use>
Sourcepub fn if_condition(self, value: impl Into<Expression>) -> Self
pub fn if_condition(self, value: impl Into<Expression>) -> Self
Sets the if_condition
field of this struct.
Sourcepub fn timeout_minutes(self, value: impl Into<u32>) -> Self
pub fn timeout_minutes(self, value: impl Into<u32>) -> Self
Sets the timeout_minutes
field of this struct.
Sourcepub fn continue_on_error(self, value: impl Into<bool>) -> Self
pub fn continue_on_error(self, value: impl Into<bool>) -> Self
Sets the continue_on_error
field of this struct.
Sourcepub fn working_directory(self, value: impl Into<String>) -> Self
pub fn working_directory(self, value: impl Into<String>) -> Self
Sets the working_directory
field of this struct.
Sourcepub fn retry(self, value: impl Into<RetryStrategy>) -> Self
pub fn retry(self, value: impl Into<RetryStrategy>) -> Self
Sets the retry
field of this struct.
Source§impl Step<Use>
impl Step<Use>
Represents a step that uses an action.
Trait Implementations§
Source§impl<'de, A> Deserialize<'de> for Step<A>
impl<'de, A> Deserialize<'de> for Step<A>
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<A> Freeze for Step<A>
impl<A> RefUnwindSafe for Step<A>where
A: RefUnwindSafe,
impl<A> Send for Step<A>where
A: Send,
impl<A> Sync for Step<A>where
A: Sync,
impl<A> Unpin for Step<A>where
A: Unpin,
impl<A> UnwindSafe for Step<A>where
A: UnwindSafe,
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