pub struct IoArgoprojWorkflowV1alpha1TtlStrategy {
pub seconds_after_completion: Option<i64>,
pub seconds_after_failure: Option<i64>,
pub seconds_after_success: Option<i64>,
}Expand description
TTLStrategy is the strategy for the time to live depending on if the workflow succeeded or failed
Fields§
§seconds_after_completion: Option<i64>SecondsAfterCompletion is the number of seconds to live after completion
seconds_after_failure: Option<i64>SecondsAfterFailure is the number of seconds to live after failure
seconds_after_success: Option<i64>SecondsAfterSuccess is the number of seconds to live after success
Trait Implementations§
Source§impl Clone for IoArgoprojWorkflowV1alpha1TtlStrategy
impl Clone for IoArgoprojWorkflowV1alpha1TtlStrategy
Source§fn clone(&self) -> IoArgoprojWorkflowV1alpha1TtlStrategy
fn clone(&self) -> IoArgoprojWorkflowV1alpha1TtlStrategy
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for IoArgoprojWorkflowV1alpha1TtlStrategy
impl<'de> Deserialize<'de> for IoArgoprojWorkflowV1alpha1TtlStrategy
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
Source§impl From<&IoArgoprojWorkflowV1alpha1TtlStrategy> for IoArgoprojWorkflowV1alpha1TtlStrategy
impl From<&IoArgoprojWorkflowV1alpha1TtlStrategy> for IoArgoprojWorkflowV1alpha1TtlStrategy
Source§fn from(value: &IoArgoprojWorkflowV1alpha1TtlStrategy) -> Self
fn from(value: &IoArgoprojWorkflowV1alpha1TtlStrategy) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoArgoprojWorkflowV1alpha1TtlStrategy
impl RefUnwindSafe for IoArgoprojWorkflowV1alpha1TtlStrategy
impl Send for IoArgoprojWorkflowV1alpha1TtlStrategy
impl Sync for IoArgoprojWorkflowV1alpha1TtlStrategy
impl Unpin for IoArgoprojWorkflowV1alpha1TtlStrategy
impl UnwindSafe for IoArgoprojWorkflowV1alpha1TtlStrategy
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