pub struct RealtimeTranscriptionSessionCreateResponse {
pub client_secret: RealtimeTranscriptionSessionCreateResponse_ClientSecret,
pub modalities: Option<Vec<String>>,
pub input_audio_format: Option<String>,
pub input_audio_transcription: Option<RealtimeTranscriptionSessionCreateResponse_InputAudioTranscription>,
pub turn_detection: Option<RealtimeTranscriptionSessionCreateResponse_TurnDetection>,
}
Expand description
A new Realtime transcription session configuration.
Fields§
§client_secret: RealtimeTranscriptionSessionCreateResponse_ClientSecret
§modalities: Option<Vec<String>>
The set of modalities the model can respond with.
input_audio_format: Option<String>
The format of input audio.
input_audio_transcription: Option<RealtimeTranscriptionSessionCreateResponse_InputAudioTranscription>
§turn_detection: Option<RealtimeTranscriptionSessionCreateResponse_TurnDetection>
Trait Implementations§
Source§impl Clone for RealtimeTranscriptionSessionCreateResponse
impl Clone for RealtimeTranscriptionSessionCreateResponse
Source§fn clone(&self) -> RealtimeTranscriptionSessionCreateResponse
fn clone(&self) -> RealtimeTranscriptionSessionCreateResponse
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for RealtimeTranscriptionSessionCreateResponse
impl RefUnwindSafe for RealtimeTranscriptionSessionCreateResponse
impl Send for RealtimeTranscriptionSessionCreateResponse
impl Sync for RealtimeTranscriptionSessionCreateResponse
impl Unpin for RealtimeTranscriptionSessionCreateResponse
impl UnwindSafe for RealtimeTranscriptionSessionCreateResponse
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