pub enum RealtimeTranscriptionSessionTurnDetection {
ServerVad {
prefix_padding_ms: Option<u32>,
silence_duration_ms: Option<u32>,
threshold: Option<f64>,
},
}Expand description
Turn detection for transcription sessions. Only server_vad is currently supported.
Variants§
ServerVad
Trait Implementations§
Source§impl Clone for RealtimeTranscriptionSessionTurnDetection
impl Clone for RealtimeTranscriptionSessionTurnDetection
Source§fn clone(&self) -> RealtimeTranscriptionSessionTurnDetection
fn clone(&self) -> RealtimeTranscriptionSessionTurnDetection
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 moreSource§impl<'de> Deserialize<'de> for RealtimeTranscriptionSessionTurnDetection
impl<'de> Deserialize<'de> for RealtimeTranscriptionSessionTurnDetection
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 RealtimeTranscriptionSessionTurnDetection
impl RefUnwindSafe for RealtimeTranscriptionSessionTurnDetection
impl Send for RealtimeTranscriptionSessionTurnDetection
impl Sync for RealtimeTranscriptionSessionTurnDetection
impl Unpin for RealtimeTranscriptionSessionTurnDetection
impl UnsafeUnpin for RealtimeTranscriptionSessionTurnDetection
impl UnwindSafe for RealtimeTranscriptionSessionTurnDetection
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