pub struct BatchCallRetryConfig {
pub enabled: Option<bool>,
pub retry_on: Vec<BatchCallRetryStatus>,
pub max_attempts: Option<u32>,
}Expand description
Configures retries for a batch.
Fields§
§enabled: Option<bool>Whether to retry.
retry_on: Vec<BatchCallRetryStatus>Which call statuses trigger a retry.
max_attempts: Option<u32>The maximum attempts, from 1 to 3.
Trait Implementations§
Source§impl Clone for BatchCallRetryConfig
impl Clone for BatchCallRetryConfig
Source§fn clone(&self) -> BatchCallRetryConfig
fn clone(&self) -> BatchCallRetryConfig
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 BatchCallRetryConfig
impl Debug for BatchCallRetryConfig
Source§impl Default for BatchCallRetryConfig
impl Default for BatchCallRetryConfig
Source§fn default() -> BatchCallRetryConfig
fn default() -> BatchCallRetryConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for BatchCallRetryConfig
impl<'de> Deserialize<'de> for BatchCallRetryConfig
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
Auto Trait Implementations§
impl Freeze for BatchCallRetryConfig
impl RefUnwindSafe for BatchCallRetryConfig
impl Send for BatchCallRetryConfig
impl Sync for BatchCallRetryConfig
impl Unpin for BatchCallRetryConfig
impl UnsafeUnpin for BatchCallRetryConfig
impl UnwindSafe for BatchCallRetryConfig
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