#[non_exhaustive]pub struct RealtimeSessionCreateResponseAudioInputTurnDetectionServerVad {
pub type_: RealtimeSessionCreateResponseAudioInputTurnDetectionServerVadType,
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_session_create_response.py, AudioInputTurnDetectionServerVad.
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_: RealtimeSessionCreateResponseAudioInputTurnDetectionServerVadType§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 RealtimeSessionCreateResponseAudioInputTurnDetectionServerVad
impl RealtimeSessionCreateResponseAudioInputTurnDetectionServerVad
Sourcepub fn builder(
type_: RealtimeSessionCreateResponseAudioInputTurnDetectionServerVadType,
) -> RealtimeSessionCreateResponseAudioInputTurnDetectionServerVadBuilder
pub fn builder( type_: RealtimeSessionCreateResponseAudioInputTurnDetectionServerVadType, ) -> RealtimeSessionCreateResponseAudioInputTurnDetectionServerVadBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl DeclaredFields for RealtimeSessionCreateResponseAudioInputTurnDetectionServerVad
impl DeclaredFields for RealtimeSessionCreateResponseAudioInputTurnDetectionServerVad
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for RealtimeSessionCreateResponseAudioInputTurnDetectionServerVad
impl<'de> Deserialize<'de> for RealtimeSessionCreateResponseAudioInputTurnDetectionServerVad
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 RealtimeSessionCreateResponseAudioInputTurnDetectionServerVad
Auto Trait Implementations§
impl Freeze for RealtimeSessionCreateResponseAudioInputTurnDetectionServerVad
impl RefUnwindSafe for RealtimeSessionCreateResponseAudioInputTurnDetectionServerVad
impl Send for RealtimeSessionCreateResponseAudioInputTurnDetectionServerVad
impl Sync for RealtimeSessionCreateResponseAudioInputTurnDetectionServerVad
impl Unpin for RealtimeSessionCreateResponseAudioInputTurnDetectionServerVad
impl UnsafeUnpin for RealtimeSessionCreateResponseAudioInputTurnDetectionServerVad
impl UnwindSafe for RealtimeSessionCreateResponseAudioInputTurnDetectionServerVad
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