pub struct RealtimeSessionCreateResponseAudioInputBuilder(/* private fields */);Expand description
Builder for RealtimeSessionCreateResponseAudioInput.
Implementations§
Source§impl RealtimeSessionCreateResponseAudioInputBuilder
impl RealtimeSessionCreateResponseAudioInputBuilder
pub fn format(self, value: impl Into<Option<RealtimeAudioFormats>>) -> Self
pub fn noise_reduction( self, value: impl Into<Option<RealtimeSessionCreateResponseAudioInputNoiseReduction>>, ) -> Self
pub fn transcription(self, value: impl Into<Option<AudioTranscription>>) -> Self
pub fn turn_detection( self, value: impl Into<Option<RealtimeSessionCreateResponseAudioInputTurnDetection>>, ) -> Self
pub fn rest(self, value: Rest) -> Self
Sourcepub fn build(self) -> RealtimeSessionCreateResponseAudioInput
pub fn build(self) -> RealtimeSessionCreateResponseAudioInput
Return the completed wire value.
Auto Trait Implementations§
impl Freeze for RealtimeSessionCreateResponseAudioInputBuilder
impl RefUnwindSafe for RealtimeSessionCreateResponseAudioInputBuilder
impl Send for RealtimeSessionCreateResponseAudioInputBuilder
impl Sync for RealtimeSessionCreateResponseAudioInputBuilder
impl Unpin for RealtimeSessionCreateResponseAudioInputBuilder
impl UnsafeUnpin for RealtimeSessionCreateResponseAudioInputBuilder
impl UnwindSafe for RealtimeSessionCreateResponseAudioInputBuilder
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