Struct TurnDetectionConfig
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§
§impl Clone for TurnDetectionConfig
impl Clone for TurnDetectionConfig
§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 more§impl Debug for TurnDetectionConfig
impl Debug for TurnDetectionConfig
§impl Default for TurnDetectionConfig
impl Default for TurnDetectionConfig
§fn default() -> TurnDetectionConfig
fn default() -> TurnDetectionConfig
Returns the “default value” for a type. Read more
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