pub struct TranslatedFile {
pub input: String,
pub output: String,
pub applied: bool,
}Expand description
Per-file record reported in the translate JSON envelope.
Each entry corresponds to one input subtitle file processed by the
command. applied is true when the translated output was
successfully written to disk.
Fields§
§input: StringSource subtitle path as supplied to the command.
output: StringEffective output path for the translated subtitle (may equal
input when --replace is active).
applied: boolWhether the translated content was written successfully.
Trait Implementations§
Source§impl Debug for TranslatedFile
impl Debug for TranslatedFile
Auto Trait Implementations§
impl Freeze for TranslatedFile
impl RefUnwindSafe for TranslatedFile
impl Send for TranslatedFile
impl Sync for TranslatedFile
impl Unpin for TranslatedFile
impl UnsafeUnpin for TranslatedFile
impl UnwindSafe for TranslatedFile
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