pub struct RetryPolicyLimitDefinition {
pub attempt: Option<RetryAttemptLimitDefinition>,
pub duration: Option<OneOfDurationOrIso8601Expression>,
}Expand description
Represents the configuration of the limits of a retry policy
Fields§
§attempt: Option<RetryAttemptLimitDefinition>Gets/sets the definition of the limits for all retry attempts of a given policy
duration: Option<OneOfDurationOrIso8601Expression>Gets/sets the maximum duration, if any, during which to retry a given task
Trait Implementations§
Source§impl Clone for RetryPolicyLimitDefinition
impl Clone for RetryPolicyLimitDefinition
Source§fn clone(&self) -> RetryPolicyLimitDefinition
fn clone(&self) -> RetryPolicyLimitDefinition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for RetryPolicyLimitDefinition
impl Debug for RetryPolicyLimitDefinition
Source§impl Default for RetryPolicyLimitDefinition
impl Default for RetryPolicyLimitDefinition
Source§fn default() -> RetryPolicyLimitDefinition
fn default() -> RetryPolicyLimitDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RetryPolicyLimitDefinition
impl<'de> Deserialize<'de> for RetryPolicyLimitDefinition
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 PartialEq for RetryPolicyLimitDefinition
impl PartialEq for RetryPolicyLimitDefinition
Source§fn eq(&self, other: &RetryPolicyLimitDefinition) -> bool
fn eq(&self, other: &RetryPolicyLimitDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RetryPolicyLimitDefinition
impl StructuralPartialEq for RetryPolicyLimitDefinition
Auto Trait Implementations§
impl Freeze for RetryPolicyLimitDefinition
impl RefUnwindSafe for RetryPolicyLimitDefinition
impl Send for RetryPolicyLimitDefinition
impl Sync for RetryPolicyLimitDefinition
impl Unpin for RetryPolicyLimitDefinition
impl UnsafeUnpin for RetryPolicyLimitDefinition
impl UnwindSafe for RetryPolicyLimitDefinition
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