#[non_exhaustive]pub struct AudioTranscriptionConfig {
pub language_codes: Option<Vec<String>>,
pub language_auto: Option<LanguageAuto>,
pub language_hints: Option<LanguageHints>,
pub custom_vocabulary: Option<Vec<String>>,
pub adaptation_phrases: Option<Vec<String>>,
pub word_timestamp: Option<bool>,
pub diarization: Option<bool>,
pub mode: Option<AudioTranscriptionMode>,
pub rest: Rest,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.language_codes: Option<Vec<String>>§language_auto: Option<LanguageAuto>§language_hints: Option<LanguageHints>§custom_vocabulary: Option<Vec<String>>§adaptation_phrases: Option<Vec<String>>§word_timestamp: Option<bool>§diarization: Option<bool>§mode: Option<AudioTranscriptionMode>§rest: RestImplementations§
Source§impl AudioTranscriptionConfig
impl AudioTranscriptionConfig
Sourcepub fn builder() -> AudioTranscriptionConfigBuilder
pub fn builder() -> AudioTranscriptionConfigBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl Clone for AudioTranscriptionConfig
impl Clone for AudioTranscriptionConfig
Source§impl Debug for AudioTranscriptionConfig
impl Debug for AudioTranscriptionConfig
Source§impl DeclaredFields for AudioTranscriptionConfig
impl DeclaredFields for AudioTranscriptionConfig
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for AudioTranscriptionConfig
impl<'de> Deserialize<'de> for AudioTranscriptionConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AudioTranscriptionConfig
impl PartialEq for AudioTranscriptionConfig
Source§impl Serialize for AudioTranscriptionConfig
impl Serialize for AudioTranscriptionConfig
impl StructuralPartialEq for AudioTranscriptionConfig
Auto Trait Implementations§
impl Freeze for AudioTranscriptionConfig
impl RefUnwindSafe for AudioTranscriptionConfig
impl Send for AudioTranscriptionConfig
impl Sync for AudioTranscriptionConfig
impl Unpin for AudioTranscriptionConfig
impl UnsafeUnpin for AudioTranscriptionConfig
impl UnwindSafe for AudioTranscriptionConfig
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