pub struct AutomaticActivityDetection {
pub disabled: Option<bool>,
pub start_of_speech_sensitivity: Option<Sensitivity>,
pub end_of_speech_sensitivity: Option<Sensitivity>,
pub prefix_padding_ms: Option<u32>,
pub silence_duration_ms: Option<u32>,
}Expand description
Automatic activity detection (VAD) settings.
Fields§
§disabled: Option<bool>Whether automatic activity detection is disabled.
start_of_speech_sensitivity: Option<Sensitivity>Sensitivity for detecting speech onset.
end_of_speech_sensitivity: Option<Sensitivity>Sensitivity for detecting end of speech.
prefix_padding_ms: Option<u32>Milliseconds of audio to include before speech onset.
silence_duration_ms: Option<u32>Milliseconds of silence before end-of-speech is triggered.
Trait Implementations§
Source§impl Clone for AutomaticActivityDetection
impl Clone for AutomaticActivityDetection
Source§fn clone(&self) -> AutomaticActivityDetection
fn clone(&self) -> AutomaticActivityDetection
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 AutomaticActivityDetection
impl Debug for AutomaticActivityDetection
Source§impl<'de> Deserialize<'de> for AutomaticActivityDetection
impl<'de> Deserialize<'de> for AutomaticActivityDetection
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
impl Eq for AutomaticActivityDetection
impl StructuralPartialEq for AutomaticActivityDetection
Auto Trait Implementations§
impl Freeze for AutomaticActivityDetection
impl RefUnwindSafe for AutomaticActivityDetection
impl Send for AutomaticActivityDetection
impl Sync for AutomaticActivityDetection
impl Unpin for AutomaticActivityDetection
impl UnwindSafe for AutomaticActivityDetection
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.