pub struct LinearBackoffDefinition {
pub increment: Option<Duration>,
pub definition: Option<HashMap<String, Value>>,
}Expand description
Represents the definition of a linear backoff
Fields§
§increment: Option<Duration>Gets/sets the linear incrementation to the delay between retry attempts
definition: Option<HashMap<String, Value>>Gets/sets the definition of additional linear backoff parameters (e.g., {“maxDelay”: “PT30S”})
Trait Implementations§
Source§impl Clone for LinearBackoffDefinition
impl Clone for LinearBackoffDefinition
Source§fn clone(&self) -> LinearBackoffDefinition
fn clone(&self) -> LinearBackoffDefinition
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 LinearBackoffDefinition
impl Debug for LinearBackoffDefinition
Source§impl Default for LinearBackoffDefinition
impl Default for LinearBackoffDefinition
Source§fn default() -> LinearBackoffDefinition
fn default() -> LinearBackoffDefinition
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for LinearBackoffDefinition
impl<'de> Deserialize<'de> for LinearBackoffDefinition
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 LinearBackoffDefinition
impl PartialEq for LinearBackoffDefinition
Source§fn eq(&self, other: &LinearBackoffDefinition) -> bool
fn eq(&self, other: &LinearBackoffDefinition) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for LinearBackoffDefinition
impl Serialize for LinearBackoffDefinition
impl StructuralPartialEq for LinearBackoffDefinition
Auto Trait Implementations§
impl Freeze for LinearBackoffDefinition
impl RefUnwindSafe for LinearBackoffDefinition
impl Send for LinearBackoffDefinition
impl Sync for LinearBackoffDefinition
impl Unpin for LinearBackoffDefinition
impl UnsafeUnpin for LinearBackoffDefinition
impl UnwindSafe for LinearBackoffDefinition
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