pub struct TurnDetectionConfig {
pub detection_type: String,
pub threshold: f32,
pub prefix_padding_ms: u32,
pub silence_duration_ms: u32,
pub interrupt_response: bool,
pub create_response: bool,
}Fields§
§detection_type: String§threshold: f32§prefix_padding_ms: u32§silence_duration_ms: u32§interrupt_response: bool§create_response: boolTrait Implementations§
Source§impl Debug for TurnDetectionConfig
impl Debug for TurnDetectionConfig
Source§impl<'de> Deserialize<'de> for TurnDetectionConfig
impl<'de> Deserialize<'de> for TurnDetectionConfig
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 TurnDetectionConfig
impl RefUnwindSafe for TurnDetectionConfig
impl Send for TurnDetectionConfig
impl Sync for TurnDetectionConfig
impl Unpin for TurnDetectionConfig
impl UnwindSafe for TurnDetectionConfig
Blanket Implementations§
§impl<T> ActionTrait for T
impl<T> ActionTrait for T
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