pub struct RetryAttemptLimitDefinition {
pub count: Option<u16>,
pub duration: Option<OneOfDurationOrIso8601Expression>,
}Expand description
Represents the definition of the limits for all retry attempts of a given policy
Fields§
§count: Option<u16>Gets/sets the maximum attempts count
duration: Option<OneOfDurationOrIso8601Expression>Gets/sets the duration limit, if any, for all retry attempts
Trait Implementations§
Source§impl Clone for RetryAttemptLimitDefinition
impl Clone for RetryAttemptLimitDefinition
Source§fn clone(&self) -> RetryAttemptLimitDefinition
fn clone(&self) -> RetryAttemptLimitDefinition
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 RetryAttemptLimitDefinition
impl Debug for RetryAttemptLimitDefinition
Source§impl Default for RetryAttemptLimitDefinition
impl Default for RetryAttemptLimitDefinition
Source§fn default() -> RetryAttemptLimitDefinition
fn default() -> RetryAttemptLimitDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RetryAttemptLimitDefinition
impl<'de> Deserialize<'de> for RetryAttemptLimitDefinition
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 RetryAttemptLimitDefinition
impl PartialEq for RetryAttemptLimitDefinition
Source§fn eq(&self, other: &RetryAttemptLimitDefinition) -> bool
fn eq(&self, other: &RetryAttemptLimitDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for RetryAttemptLimitDefinition
impl StructuralPartialEq for RetryAttemptLimitDefinition
Auto Trait Implementations§
impl Freeze for RetryAttemptLimitDefinition
impl RefUnwindSafe for RetryAttemptLimitDefinition
impl Send for RetryAttemptLimitDefinition
impl Sync for RetryAttemptLimitDefinition
impl Unpin for RetryAttemptLimitDefinition
impl UnsafeUnpin for RetryAttemptLimitDefinition
impl UnwindSafe for RetryAttemptLimitDefinition
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