pub struct StepValue {
pub id: Option<String>,
pub name: Option<String>,
pub if_condition: Option<Expression>,
pub uses: Option<String>,
pub run: Option<String>,
pub env: Option<Env>,
pub timeout_minutes: Option<u32>,
pub continue_on_error: Option<bool>,
pub working_directory: Option<String>,
pub retry: Option<RetryStrategy>,
pub artifacts: Option<Artifacts>,
/* private fields */
}
Fields§
§id: Option<String>
§name: Option<String>
§if_condition: Option<Expression>
§uses: Option<String>
§run: Option<String>
§env: Option<Env>
§timeout_minutes: Option<u32>
§continue_on_error: Option<bool>
§working_directory: Option<String>
§retry: Option<RetryStrategy>
§artifacts: Option<Artifacts>
Implementations§
Source§impl StepValue
impl StepValue
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.
pub fn with(self, value: impl Into<Input>) -> Self
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.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for StepValue
impl<'de> Deserialize<'de> for StepValue
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
impl Eq for StepValue
impl StructuralPartialEq for StepValue
Auto Trait Implementations§
impl Freeze for StepValue
impl RefUnwindSafe for StepValue
impl Send for StepValue
impl Sync for StepValue
impl Unpin for StepValue
impl UnwindSafe for StepValue
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.