pub struct ResolvedRunSettings {
pub profile: TranslationProfile,
pub segmentation: SegmentationConfig,
pub batch: BatchConfig,
pub scheduler: SchedulerConfig,
pub provider: ProviderRuntimeConfig,
pub compact_prompts: bool,
pub retry_failed_only: bool,
pub adaptive_concurrency: bool,
pub qa: QaRunConfig,
pub double_check: DoubleCheckConfig,
}Fields§
§profile: TranslationProfile§segmentation: SegmentationConfig§batch: BatchConfig§scheduler: SchedulerConfig§provider: ProviderRuntimeConfig§compact_prompts: bool§retry_failed_only: bool§adaptive_concurrency: bool§qa: QaRunConfig§double_check: DoubleCheckConfigImplementations§
Source§impl ResolvedRunSettings
impl ResolvedRunSettings
pub fn apply_provider_preset_runtime( &mut self, overrides: ProviderPresetRuntimeOverrides, )
Trait Implementations§
Source§impl Clone for ResolvedRunSettings
impl Clone for ResolvedRunSettings
Source§fn clone(&self) -> ResolvedRunSettings
fn clone(&self) -> ResolvedRunSettings
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 ResolvedRunSettings
impl RefUnwindSafe for ResolvedRunSettings
impl Send for ResolvedRunSettings
impl Sync for ResolvedRunSettings
impl Unpin for ResolvedRunSettings
impl UnsafeUnpin for ResolvedRunSettings
impl UnwindSafe for ResolvedRunSettings
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