#[non_exhaustive]pub struct RealtimeSessionCreateResponseAudioInput {
pub format: Option<Option<RealtimeAudioFormats>>,
pub noise_reduction: Option<Option<RealtimeSessionCreateResponseAudioInputNoiseReduction>>,
pub transcription: Option<Option<AudioTranscription>>,
pub turn_detection: Option<Option<RealtimeSessionCreateResponseAudioInputTurnDetection>>,
pub rest: Rest,
}Expand description
Source: openai/types/realtime/realtime_session_create_response.py, AudioInput.
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.format: Option<Option<RealtimeAudioFormats>>§noise_reduction: Option<Option<RealtimeSessionCreateResponseAudioInputNoiseReduction>>§transcription: Option<Option<AudioTranscription>>§turn_detection: Option<Option<RealtimeSessionCreateResponseAudioInputTurnDetection>>§rest: RestImplementations§
Source§impl RealtimeSessionCreateResponseAudioInput
impl RealtimeSessionCreateResponseAudioInput
Sourcepub fn builder() -> RealtimeSessionCreateResponseAudioInputBuilder
pub fn builder() -> RealtimeSessionCreateResponseAudioInputBuilder
Start a builder by supplying the required fields in declaration order.
Trait Implementations§
Source§impl DeclaredFields for RealtimeSessionCreateResponseAudioInput
impl DeclaredFields for RealtimeSessionCreateResponseAudioInput
fn into_declared(self) -> Self
Source§impl<'de> Deserialize<'de> for RealtimeSessionCreateResponseAudioInput
impl<'de> Deserialize<'de> for RealtimeSessionCreateResponseAudioInput
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 RealtimeSessionCreateResponseAudioInput
Auto Trait Implementations§
impl Freeze for RealtimeSessionCreateResponseAudioInput
impl RefUnwindSafe for RealtimeSessionCreateResponseAudioInput
impl Send for RealtimeSessionCreateResponseAudioInput
impl Sync for RealtimeSessionCreateResponseAudioInput
impl Unpin for RealtimeSessionCreateResponseAudioInput
impl UnsafeUnpin for RealtimeSessionCreateResponseAudioInput
impl UnwindSafe for RealtimeSessionCreateResponseAudioInput
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