pub struct RetryPolicy {
pub retry_type: Option<RetryType>,
pub retry_interval: Option<String>,
pub retry_count: Option<i64>,
}
Fields§
§retry_type: Option<RetryType>
Gets or sets the retry strategy to be used.
retry_interval: Option<String>
Gets or sets the retry interval between retries.
retry_count: Option<i64>
Gets or sets the number of times a retry should be attempted.
Implementations§
source§impl RetryPolicy
impl RetryPolicy
Trait Implementations§
source§impl Clone for RetryPolicy
impl Clone for RetryPolicy
source§fn clone(&self) -> RetryPolicy
fn clone(&self) -> RetryPolicy
Returns a copy of the value. Read more
1.0.0 · 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 RetryPolicy
impl Debug for RetryPolicy
source§impl Default for RetryPolicy
impl Default for RetryPolicy
source§fn default() -> RetryPolicy
fn default() -> RetryPolicy
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for RetryPolicy
impl<'de> Deserialize<'de> for RetryPolicy
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 RetryPolicy
impl PartialEq for RetryPolicy
source§fn eq(&self, other: &RetryPolicy) -> bool
fn eq(&self, other: &RetryPolicy) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for RetryPolicy
impl Serialize for RetryPolicy
impl StructuralPartialEq for RetryPolicy
Auto Trait Implementations§
impl Freeze for RetryPolicy
impl RefUnwindSafe for RetryPolicy
impl Send for RetryPolicy
impl Sync for RetryPolicy
impl Unpin for RetryPolicy
impl UnwindSafe for RetryPolicy
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