pub struct RunConfigSnapshot {Show 18 fields
pub input_path: PathBuf,
pub input_snapshot_path: Option<PathBuf>,
pub input_sha256: Option<String>,
pub output_path: PathBuf,
pub events_path: Option<PathBuf>,
pub report_json_path: Option<PathBuf>,
pub report_markdown_path: Option<PathBuf>,
pub source_language: Option<String>,
pub target_language: String,
pub provider: String,
pub model: String,
pub base_url: Option<String>,
pub api_key_env: Option<String>,
pub profile: TranslationProfile,
pub provider_preset: Option<ProviderPreset>,
pub prompt_version: String,
pub cache_namespace: String,
pub settings: ResolvedRunSettingsSnapshot,
}Fields§
§input_path: PathBuf§input_snapshot_path: Option<PathBuf>§input_sha256: Option<String>§output_path: PathBuf§events_path: Option<PathBuf>§report_json_path: Option<PathBuf>§report_markdown_path: Option<PathBuf>§source_language: Option<String>§target_language: String§provider: String§model: String§base_url: Option<String>§api_key_env: Option<String>§profile: TranslationProfile§provider_preset: Option<ProviderPreset>§prompt_version: String§cache_namespace: String§settings: ResolvedRunSettingsSnapshotTrait Implementations§
Source§impl Clone for RunConfigSnapshot
impl Clone for RunConfigSnapshot
Source§fn clone(&self) -> RunConfigSnapshot
fn clone(&self) -> RunConfigSnapshot
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 RunConfigSnapshot
impl Debug for RunConfigSnapshot
Source§impl<'de> Deserialize<'de> for RunConfigSnapshot
impl<'de> Deserialize<'de> for RunConfigSnapshot
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 RunConfigSnapshot
impl PartialEq for RunConfigSnapshot
Source§fn eq(&self, other: &RunConfigSnapshot) -> bool
fn eq(&self, other: &RunConfigSnapshot) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RunConfigSnapshot
impl Serialize for RunConfigSnapshot
impl Eq for RunConfigSnapshot
impl StructuralPartialEq for RunConfigSnapshot
Auto Trait Implementations§
impl Freeze for RunConfigSnapshot
impl RefUnwindSafe for RunConfigSnapshot
impl Send for RunConfigSnapshot
impl Sync for RunConfigSnapshot
impl Unpin for RunConfigSnapshot
impl UnsafeUnpin for RunConfigSnapshot
impl UnwindSafe for RunConfigSnapshot
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.