Struct AutomaticActivityDetection
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§
§impl Clone for AutomaticActivityDetection
impl Clone for AutomaticActivityDetection
§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 more§impl Debug for AutomaticActivityDetection
impl Debug for AutomaticActivityDetection
§impl<'de> Deserialize<'de> for AutomaticActivityDetection
impl<'de> Deserialize<'de> for AutomaticActivityDetection
§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AutomaticActivityDetection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AutomaticActivityDetection, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
§impl PartialEq for AutomaticActivityDetection
impl PartialEq for AutomaticActivityDetection
§impl Serialize for AutomaticActivityDetection
impl Serialize for AutomaticActivityDetection
§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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.§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