pub struct ServerVadConfig {
pub threshold: Option<f32>,
pub prefix_padding_ms: Option<u32>,
pub silence_duration_ms: Option<u32>,
pub create_response: Option<bool>,
pub interrupt_response: Option<bool>,
pub idle_timeout_ms: Option<u32>,
}Fields§
§threshold: Option<f32>§prefix_padding_ms: Option<u32>§silence_duration_ms: Option<u32>§create_response: Option<bool>§interrupt_response: Option<bool>§idle_timeout_ms: Option<u32>Trait Implementations§
Source§impl Clone for ServerVadConfig
impl Clone for ServerVadConfig
Source§fn clone(&self) -> ServerVadConfig
fn clone(&self) -> ServerVadConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ServerVadConfig
impl Debug for ServerVadConfig
Source§impl Default for ServerVadConfig
impl Default for ServerVadConfig
Source§fn default() -> ServerVadConfig
fn default() -> ServerVadConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ServerVadConfig
impl RefUnwindSafe for ServerVadConfig
impl Send for ServerVadConfig
impl Sync for ServerVadConfig
impl Unpin for ServerVadConfig
impl UnsafeUnpin for ServerVadConfig
impl UnwindSafe for ServerVadConfig
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