pub struct TurnDetection {
pub detection_type: String,
pub threshold: Option<f32>,
pub prefix_padding_ms: Option<u32>,
pub silence_duration_ms: Option<u32>,
}Fields§
§detection_type: String§threshold: Option<f32>§prefix_padding_ms: Option<u32>§silence_duration_ms: Option<u32>Trait Implementations§
Source§impl Clone for TurnDetection
impl Clone for TurnDetection
Source§fn clone(&self) -> TurnDetection
fn clone(&self) -> TurnDetection
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 TurnDetection
impl Debug for TurnDetection
Source§impl Default for TurnDetection
impl Default for TurnDetection
Auto Trait Implementations§
impl Freeze for TurnDetection
impl RefUnwindSafe for TurnDetection
impl Send for TurnDetection
impl Sync for TurnDetection
impl Unpin for TurnDetection
impl UnwindSafe for TurnDetection
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