pub struct TranslationOutcome {
pub effective_terminology: TerminologyMap,
pub translated_cue_count: usize,
pub batch_count: usize,
}Expand description
Outcome metadata for a successful translation pass.
Fields§
§effective_terminology: TerminologyMapEffective terminology map used for the translation prompt (glossary entries already merged on top of generated terms).
translated_cue_count: usizeNumber of cues that were translated.
batch_count: usizeNumber of AI translation batches issued.
Trait Implementations§
Source§impl Clone for TranslationOutcome
impl Clone for TranslationOutcome
Source§fn clone(&self) -> TranslationOutcome
fn clone(&self) -> TranslationOutcome
Returns a duplicate of the value. Read more
1.0.0 · 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 TranslationOutcome
impl Debug for TranslationOutcome
Source§impl Default for TranslationOutcome
impl Default for TranslationOutcome
Source§fn default() -> TranslationOutcome
fn default() -> TranslationOutcome
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TranslationOutcome
impl RefUnwindSafe for TranslationOutcome
impl Send for TranslationOutcome
impl Sync for TranslationOutcome
impl Unpin for TranslationOutcome
impl UnsafeUnpin for TranslationOutcome
impl UnwindSafe for TranslationOutcome
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