pub struct RealtimeTranscriptionSessionCreateResponse {
pub id: String,
pub object: String,
pub type_: String,
pub audio: Option<Audio>,
pub expires_at: Option<i64>,
pub include: Option<Vec<String>>,
}Expand description
A Realtime transcription session configuration object.
Fields§
§id: StringUnique identifier for the session that looks like sess_1234567890abcdef.
object: StringThe object type. Always realtime.transcription_session.
type_: StringThe type of session. Always transcription for transcription sessions.
audio: Option<Audio>Configuration for input audio for the session.
expires_at: Option<i64>Expiration timestamp for the session, in seconds since epoch.
include: Option<Vec<String>>Additional fields to include in server outputs.
Trait Implementations§
Source§impl Clone for RealtimeTranscriptionSessionCreateResponse
impl Clone for RealtimeTranscriptionSessionCreateResponse
Source§fn clone(&self) -> RealtimeTranscriptionSessionCreateResponse
fn clone(&self) -> RealtimeTranscriptionSessionCreateResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'de> Deserialize<'de> for RealtimeTranscriptionSessionCreateResponse
impl<'de> Deserialize<'de> for RealtimeTranscriptionSessionCreateResponse
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
Auto Trait Implementations§
impl Freeze for RealtimeTranscriptionSessionCreateResponse
impl RefUnwindSafe for RealtimeTranscriptionSessionCreateResponse
impl Send for RealtimeTranscriptionSessionCreateResponse
impl Sync for RealtimeTranscriptionSessionCreateResponse
impl Unpin for RealtimeTranscriptionSessionCreateResponse
impl UnsafeUnpin 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