pub struct ProviderRuntimeConfigSnapshot {
pub timeout_seconds: u64,
pub provider_max_attempts: usize,
pub validation_max_attempts: usize,
pub retry_after_policy: RetryAfterPolicy,
pub max_backoff_seconds: u64,
pub thinking_disabled: bool,
pub model_context_tokens: Option<u32>,
pub max_output_tokens: Option<u32>,
pub batch_max_output_tokens: Option<u32>,
pub json_mode: JsonMode,
pub max_idle_per_host: usize,
}Fields§
§timeout_seconds: u64§provider_max_attempts: usize§validation_max_attempts: usize§retry_after_policy: RetryAfterPolicy§max_backoff_seconds: u64§thinking_disabled: bool§model_context_tokens: Option<u32>§max_output_tokens: Option<u32>§batch_max_output_tokens: Option<u32>§json_mode: JsonMode§max_idle_per_host: usizeTrait Implementations§
Source§impl Clone for ProviderRuntimeConfigSnapshot
impl Clone for ProviderRuntimeConfigSnapshot
Source§fn clone(&self) -> ProviderRuntimeConfigSnapshot
fn clone(&self) -> ProviderRuntimeConfigSnapshot
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<'de> Deserialize<'de> for ProviderRuntimeConfigSnapshot
impl<'de> Deserialize<'de> for ProviderRuntimeConfigSnapshot
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 ProviderRuntimeConfigSnapshot
impl PartialEq for ProviderRuntimeConfigSnapshot
Source§fn eq(&self, other: &ProviderRuntimeConfigSnapshot) -> bool
fn eq(&self, other: &ProviderRuntimeConfigSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ProviderRuntimeConfigSnapshot
impl Eq for ProviderRuntimeConfigSnapshot
impl StructuralPartialEq for ProviderRuntimeConfigSnapshot
Auto Trait Implementations§
impl Freeze for ProviderRuntimeConfigSnapshot
impl RefUnwindSafe for ProviderRuntimeConfigSnapshot
impl Send for ProviderRuntimeConfigSnapshot
impl Sync for ProviderRuntimeConfigSnapshot
impl Unpin for ProviderRuntimeConfigSnapshot
impl UnsafeUnpin for ProviderRuntimeConfigSnapshot
impl UnwindSafe for ProviderRuntimeConfigSnapshot
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.