#[non_exhaustive]pub struct RealtimeAudioInputTurnDetectionServerVad {
pub type_: RealtimeAudioInputTurnDetectionServerVadType,
pub create_response: Option<Option<bool>>,
pub idle_timeout_ms: Option<Option<i64>>,
pub interrupt_response: Option<Option<bool>>,
pub prefix_padding_ms: Option<Option<i64>>,
pub silence_duration_ms: Option<Option<i64>>,
pub threshold: Option<Option<Number>>,
pub rest: Rest,
}Expand description
Source: openai/types/realtime/realtime_audio_input_turn_detection.py, ServerVad.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.type_: RealtimeAudioInputTurnDetectionServerVadType§create_response: Option<Option<bool>>§idle_timeout_ms: Option<Option<i64>>§interrupt_response: Option<Option<bool>>§prefix_padding_ms: Option<Option<i64>>§silence_duration_ms: Option<Option<i64>>§threshold: Option<Option<Number>>§rest: RestImplementations§
Source§impl RealtimeAudioInputTurnDetectionServerVad
impl RealtimeAudioInputTurnDetectionServerVad
Sourcepub fn builder(
type_: RealtimeAudioInputTurnDetectionServerVadType,
) -> RealtimeAudioInputTurnDetectionServerVadBuilder
pub fn builder( type_: RealtimeAudioInputTurnDetectionServerVadType, ) -> RealtimeAudioInputTurnDetectionServerVadBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl DeclaredFields for RealtimeAudioInputTurnDetectionServerVad
impl DeclaredFields for RealtimeAudioInputTurnDetectionServerVad
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for RealtimeAudioInputTurnDetectionServerVad
impl<'de> Deserialize<'de> for RealtimeAudioInputTurnDetectionServerVad
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 StructuralPartialEq for RealtimeAudioInputTurnDetectionServerVad
Auto Trait Implementations§
impl Freeze for RealtimeAudioInputTurnDetectionServerVad
impl RefUnwindSafe for RealtimeAudioInputTurnDetectionServerVad
impl Send for RealtimeAudioInputTurnDetectionServerVad
impl Sync for RealtimeAudioInputTurnDetectionServerVad
impl Unpin for RealtimeAudioInputTurnDetectionServerVad
impl UnsafeUnpin for RealtimeAudioInputTurnDetectionServerVad
impl UnwindSafe for RealtimeAudioInputTurnDetectionServerVad
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