pub struct ModelAPIRetryConfig {
pub max_retries: Option<u32>,
pub initial_sleep_duration_ms: Option<u32>,
pub exponential_multiplier: Option<f64>,
pub jitter_range: Option<f64>,
}Expand description
antigravity.localharness.ModelAPIRetryConfig
Fields§
§max_retries: Option<u32>§initial_sleep_duration_ms: Option<u32>§exponential_multiplier: Option<f64>§jitter_range: Option<f64>Trait Implementations§
Source§impl Clone for ModelAPIRetryConfig
impl Clone for ModelAPIRetryConfig
Source§fn clone(&self) -> ModelAPIRetryConfig
fn clone(&self) -> ModelAPIRetryConfig
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 ModelAPIRetryConfig
impl Debug for ModelAPIRetryConfig
Source§impl Default for ModelAPIRetryConfig
impl Default for ModelAPIRetryConfig
Source§fn default() -> ModelAPIRetryConfig
fn default() -> ModelAPIRetryConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ModelAPIRetryConfig
impl<'de> Deserialize<'de> for ModelAPIRetryConfig
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 ModelAPIRetryConfig
impl PartialEq for ModelAPIRetryConfig
Source§impl Serialize for ModelAPIRetryConfig
impl Serialize for ModelAPIRetryConfig
impl StructuralPartialEq for ModelAPIRetryConfig
Auto Trait Implementations§
impl Freeze for ModelAPIRetryConfig
impl RefUnwindSafe for ModelAPIRetryConfig
impl Send for ModelAPIRetryConfig
impl Sync for ModelAPIRetryConfig
impl Unpin for ModelAPIRetryConfig
impl UnsafeUnpin for ModelAPIRetryConfig
impl UnwindSafe for ModelAPIRetryConfig
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