pub struct TranslateInput {
pub audio: Vec<u8>,
pub audio_format: String,
pub language: String,
pub max_len: Option<u64>,
pub max_context: Option<i32>,
pub split_on_word: Option<bool>,
}Fields§
§audio: Vec<u8>§audio_format: String§language: String§max_len: Option<u64>§max_context: Option<i32>§split_on_word: Option<bool>Auto Trait Implementations§
impl Freeze for TranslateInput
impl RefUnwindSafe for TranslateInput
impl Send for TranslateInput
impl Sync for TranslateInput
impl Unpin for TranslateInput
impl UnwindSafe for TranslateInput
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