pub struct ProviderRuntimeConfig {
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 ProviderRuntimeConfig
impl Clone for ProviderRuntimeConfig
Source§fn clone(&self) -> ProviderRuntimeConfig
fn clone(&self) -> ProviderRuntimeConfig
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 moreAuto Trait Implementations§
impl Freeze for ProviderRuntimeConfig
impl RefUnwindSafe for ProviderRuntimeConfig
impl Send for ProviderRuntimeConfig
impl Sync for ProviderRuntimeConfig
impl Unpin for ProviderRuntimeConfig
impl UnsafeUnpin for ProviderRuntimeConfig
impl UnwindSafe for ProviderRuntimeConfig
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