pub struct AudioTranscriptionConfigBuilder(/* private fields */);Expand description
Builder for AudioTranscriptionConfig.
Implementations§
Source§impl AudioTranscriptionConfigBuilder
impl AudioTranscriptionConfigBuilder
pub fn language_codes(self, value: impl Into<Vec<String>>) -> Self
pub fn language_auto(self, value: impl Into<LanguageAuto>) -> Self
pub fn language_hints(self, value: impl Into<LanguageHints>) -> Self
pub fn custom_vocabulary(self, value: impl Into<Vec<String>>) -> Self
pub fn adaptation_phrases(self, value: impl Into<Vec<String>>) -> Self
pub fn word_timestamp(self, value: impl Into<bool>) -> Self
pub fn diarization(self, value: impl Into<bool>) -> Self
pub fn mode(self, value: impl Into<AudioTranscriptionMode>) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> AudioTranscriptionConfig
pub fn build(self) -> AudioTranscriptionConfig
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for AudioTranscriptionConfigBuilder
impl RefUnwindSafe for AudioTranscriptionConfigBuilder
impl Send for AudioTranscriptionConfigBuilder
impl Sync for AudioTranscriptionConfigBuilder
impl Unpin for AudioTranscriptionConfigBuilder
impl UnsafeUnpin for AudioTranscriptionConfigBuilder
impl UnwindSafe for AudioTranscriptionConfigBuilder
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