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