pub struct RunConfigSnapshot {Show 32 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 book_id: Option<String>,
pub series_id: Option<String>,
pub glossary_budget_tokens: usize,
pub glossary_format: GlossaryFormat,
pub prompt_extra: Option<String>,
pub glossary_fingerprint: String,
pub glossary_terms: Vec<GlossaryTerm>,
pub context_window: usize,
pub context_budget_tokens: usize,
pub context_scope: ContextScope,
pub style_fingerprint: String,
pub style_rendered_block: String,
pub entities_fingerprint: String,
pub entities_rendered_block: 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§book_id: Option<String>§series_id: Option<String>§glossary_budget_tokens: usize§glossary_format: GlossaryFormat§prompt_extra: Option<String>§glossary_fingerprint: String§glossary_terms: Vec<GlossaryTerm>§context_window: usize§context_budget_tokens: usize§context_scope: ContextScope§style_fingerprint: StringSHA-256 of the merged style sheet’s normalized JSON form. Stable
for users without --style (fingerprint of None).
style_rendered_block: StringPre-rendered style guide block — captured so resume reproduces the exact prompt the original run sent, even if the source TOML files have moved or been edited.
entities_fingerprint: StringSHA-256 of the merged entity set. Same opt-in stance as
style_fingerprint: empty rendered block means the cache
namespace ignores this field.
entities_rendered_block: StringPre-rendered entity grammatical-agreement block.
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
impl Eq for RunConfigSnapshot
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 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,
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.