pub struct TranslationBatch {
pub cues: Vec<TranslationCue>,
}Expand description
A batch of cues sent in a single AI translation request.
Fields§
§cues: Vec<TranslationCue>Cues in this batch, in subtitle order.
Trait Implementations§
Source§impl Clone for TranslationBatch
impl Clone for TranslationBatch
Source§fn clone(&self) -> TranslationBatch
fn clone(&self) -> TranslationBatch
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 moreAuto Trait Implementations§
impl Freeze for TranslationBatch
impl RefUnwindSafe for TranslationBatch
impl Send for TranslationBatch
impl Sync for TranslationBatch
impl Unpin for TranslationBatch
impl UnsafeUnpin for TranslationBatch
impl UnwindSafe for TranslationBatch
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