pub struct TurnDetectionConfig {
pub end_of_speech_delay_ms: u64,
pub enabled: bool,
}Expand description
Configuration for client-side turn detection.
Fields§
§end_of_speech_delay_ms: u64Delay after speech ends before signaling end-of-turn (ms).
enabled: boolWhether client-side turn detection is enabled. When disabled, we rely entirely on server-side VAD.
Trait Implementations§
Source§impl Clone for TurnDetectionConfig
impl Clone for TurnDetectionConfig
Source§fn clone(&self) -> TurnDetectionConfig
fn clone(&self) -> TurnDetectionConfig
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 Debug for TurnDetectionConfig
impl Debug for TurnDetectionConfig
Auto Trait Implementations§
impl Freeze for TurnDetectionConfig
impl RefUnwindSafe for TurnDetectionConfig
impl Send for TurnDetectionConfig
impl Sync for TurnDetectionConfig
impl Unpin for TurnDetectionConfig
impl UnwindSafe for TurnDetectionConfig
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