pub struct TurnDetectionConfig {
pub detection_type: String,
pub silence_duration_ms: Option<u32>,
}Expand description
Turn detection configuration.
Fields§
§detection_type: StringType of turn detection.
silence_duration_ms: Option<u32>Silence threshold in milliseconds.
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
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 UnsafeUnpin 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