pub struct ApiRetryDef {
pub max_retries: Option<i32>,
pub retry_base_delay_secs: Option<i64>,
}Expand description
ApiRetryDef
JSON schema
{
"type": "object",
"properties": {
"max_retries": {
"type": [
"integer",
"null"
],
"format": "int32",
"minimum": 0.0
},
"retry_base_delay_secs": {
"type": [
"integer",
"null"
],
"format": "int64",
"minimum": 0.0
}
}
}Fields§
§max_retries: Option<i32>§retry_base_delay_secs: Option<i64>Trait Implementations§
Source§impl Clone for ApiRetryDef
impl Clone for ApiRetryDef
Source§fn clone(&self) -> ApiRetryDef
fn clone(&self) -> ApiRetryDef
Returns a duplicate 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 ApiRetryDef
impl Debug for ApiRetryDef
Source§impl Default for ApiRetryDef
impl Default for ApiRetryDef
Source§impl<'de> Deserialize<'de> for ApiRetryDef
impl<'de> Deserialize<'de> for ApiRetryDef
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 ApiRetryDef
impl RefUnwindSafe for ApiRetryDef
impl Send for ApiRetryDef
impl Sync for ApiRetryDef
impl Unpin for ApiRetryDef
impl UnsafeUnpin for ApiRetryDef
impl UnwindSafe for ApiRetryDef
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