pub struct AudioTranscription {
pub enabled: bool,
pub model: String,
}
Available on crate feature
realtime
only.Fields§
§enabled: bool
Whether to enable input audio transcription.
model: String
The model to use for transcription (e.g., “whisper-1”).
Trait Implementations§
Source§impl Clone for AudioTranscription
impl Clone for AudioTranscription
Source§fn clone(&self) -> AudioTranscription
fn clone(&self) -> AudioTranscription
Returns a copy 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 moreSource§impl Debug for AudioTranscription
impl Debug for AudioTranscription
Source§impl<'de> Deserialize<'de> for AudioTranscription
impl<'de> Deserialize<'de> for AudioTranscription
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
Auto Trait Implementations§
impl Freeze for AudioTranscription
impl RefUnwindSafe for AudioTranscription
impl Send for AudioTranscription
impl Sync for AudioTranscription
impl Unpin for AudioTranscription
impl UnwindSafe for AudioTranscription
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