pub struct ModelRetryConfig {
pub standard_retries: i64,
pub overload_retries: i64,
pub backoff_ceiling_ms: u64,
}Fields§
§standard_retries: i64§overload_retries: i64§backoff_ceiling_ms: u64Trait Implementations§
Source§impl Clone for ModelRetryConfig
impl Clone for ModelRetryConfig
Source§fn clone(&self) -> ModelRetryConfig
fn clone(&self) -> ModelRetryConfig
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 moreimpl Copy for ModelRetryConfig
Source§impl Debug for ModelRetryConfig
impl Debug for ModelRetryConfig
Source§impl Default for ModelRetryConfig
impl Default for ModelRetryConfig
Source§impl<'de> Deserialize<'de> for ModelRetryConfig
impl<'de> Deserialize<'de> for ModelRetryConfig
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
impl Eq for ModelRetryConfig
Source§impl PartialEq for ModelRetryConfig
impl PartialEq for ModelRetryConfig
Source§fn eq(&self, other: &ModelRetryConfig) -> bool
fn eq(&self, other: &ModelRetryConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModelRetryConfig
Auto Trait Implementations§
impl Freeze for ModelRetryConfig
impl RefUnwindSafe for ModelRetryConfig
impl Send for ModelRetryConfig
impl Sync for ModelRetryConfig
impl Unpin for ModelRetryConfig
impl UnsafeUnpin for ModelRetryConfig
impl UnwindSafe for ModelRetryConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.