pub struct ResolvedRunSettingsSnapshot {
pub profile: TranslationProfile,
pub segmentation: SegmentationConfigSnapshot,
pub batch: BatchConfigSnapshot,
pub scheduler: SchedulerConfigSnapshot,
pub provider: ProviderRuntimeConfigSnapshot,
pub compact_prompts: bool,
pub retry_failed_only: bool,
pub adaptive_concurrency: bool,
pub qa: QaRunConfigSnapshot,
pub double_check: DoubleCheckConfigSnapshot,
}Fields§
§profile: TranslationProfile§segmentation: SegmentationConfigSnapshot§batch: BatchConfigSnapshot§scheduler: SchedulerConfigSnapshot§provider: ProviderRuntimeConfigSnapshot§compact_prompts: bool§retry_failed_only: bool§adaptive_concurrency: bool§qa: QaRunConfigSnapshot§double_check: DoubleCheckConfigSnapshotImplementations§
Source§impl ResolvedRunSettingsSnapshot
impl ResolvedRunSettingsSnapshot
pub fn from_settings(settings: &ResolvedRunSettings) -> Self
pub fn to_settings(&self) -> ResolvedRunSettings
Trait Implementations§
Source§impl Clone for ResolvedRunSettingsSnapshot
impl Clone for ResolvedRunSettingsSnapshot
Source§fn clone(&self) -> ResolvedRunSettingsSnapshot
fn clone(&self) -> ResolvedRunSettingsSnapshot
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 ResolvedRunSettingsSnapshot
impl Debug for ResolvedRunSettingsSnapshot
Source§impl<'de> Deserialize<'de> for ResolvedRunSettingsSnapshot
impl<'de> Deserialize<'de> for ResolvedRunSettingsSnapshot
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 ResolvedRunSettingsSnapshot
Source§impl PartialEq for ResolvedRunSettingsSnapshot
impl PartialEq for ResolvedRunSettingsSnapshot
Source§fn eq(&self, other: &ResolvedRunSettingsSnapshot) -> bool
fn eq(&self, other: &ResolvedRunSettingsSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResolvedRunSettingsSnapshot
Auto Trait Implementations§
impl Freeze for ResolvedRunSettingsSnapshot
impl RefUnwindSafe for ResolvedRunSettingsSnapshot
impl Send for ResolvedRunSettingsSnapshot
impl Sync for ResolvedRunSettingsSnapshot
impl Unpin for ResolvedRunSettingsSnapshot
impl UnsafeUnpin for ResolvedRunSettingsSnapshot
impl UnwindSafe for ResolvedRunSettingsSnapshot
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>,
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.