pub struct IoArgoprojWorkflowV1alpha1Backoff {
pub duration: Option<String>,
pub factor: Option<IoK8sApimachineryPkgUtilIntstrIntOrString>,
pub max_duration: Option<String>,
}Expand description
Backoff is a backoff strategy to use within retryStrategy
Fields§
§duration: Option<String>Duration is the amount to back off. Default unit is seconds, but could also be a duration (e.g. “2m”, “1h”)
factor: Option<IoK8sApimachineryPkgUtilIntstrIntOrString>Factor is a factor to multiply the base duration after each failed retry
max_duration: Option<String>MaxDuration is the maximum amount of time allowed for a workflow in the backoff strategy
Trait Implementations§
Source§impl Clone for IoArgoprojWorkflowV1alpha1Backoff
impl Clone for IoArgoprojWorkflowV1alpha1Backoff
Source§fn clone(&self) -> IoArgoprojWorkflowV1alpha1Backoff
fn clone(&self) -> IoArgoprojWorkflowV1alpha1Backoff
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 IoArgoprojWorkflowV1alpha1Backoff
impl<'de> Deserialize<'de> for IoArgoprojWorkflowV1alpha1Backoff
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<&IoArgoprojWorkflowV1alpha1Backoff> for IoArgoprojWorkflowV1alpha1Backoff
impl From<&IoArgoprojWorkflowV1alpha1Backoff> for IoArgoprojWorkflowV1alpha1Backoff
Source§fn from(value: &IoArgoprojWorkflowV1alpha1Backoff) -> Self
fn from(value: &IoArgoprojWorkflowV1alpha1Backoff) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for IoArgoprojWorkflowV1alpha1Backoff
impl RefUnwindSafe for IoArgoprojWorkflowV1alpha1Backoff
impl Send for IoArgoprojWorkflowV1alpha1Backoff
impl Sync for IoArgoprojWorkflowV1alpha1Backoff
impl Unpin for IoArgoprojWorkflowV1alpha1Backoff
impl UnwindSafe for IoArgoprojWorkflowV1alpha1Backoff
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