pub enum CreateTranscriptionResponseStreamEvent {
TranscriptTextSegment(TranscriptionTextSegmentEvent),
TranscriptTextDelta(TranscriptionTextDeltaEvent),
TranscriptTextDone(TranscriptionTextDoneEvent),
}Variants§
TranscriptTextSegment(TranscriptionTextSegmentEvent)
Emitted when a diarized transcription returns a completed segment with speaker information. Only
emitted when you create a transcription with
stream set to true and response_format set to diarized_json.
TranscriptTextDelta(TranscriptionTextDeltaEvent)
TranscriptTextDone(TranscriptionTextDoneEvent)
Emitted when the transcription is complete. Contains the complete transcription text. Only emitted
when you create a transcription with the
Stream parameter set to true.
Trait Implementations§
Source§impl Clone for CreateTranscriptionResponseStreamEvent
impl Clone for CreateTranscriptionResponseStreamEvent
Source§fn clone(&self) -> CreateTranscriptionResponseStreamEvent
fn clone(&self) -> CreateTranscriptionResponseStreamEvent
Returns a duplicate 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 moreSource§impl<'de> Deserialize<'de> for CreateTranscriptionResponseStreamEvent
impl<'de> Deserialize<'de> for CreateTranscriptionResponseStreamEvent
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
Source§impl EventType for CreateTranscriptionResponseStreamEvent
impl EventType for CreateTranscriptionResponseStreamEvent
Source§fn event_type(&self) -> &'static str
fn event_type(&self) -> &'static str
Returns the event type string (e.g., “batch.cancelled”)
Auto Trait Implementations§
impl Freeze for CreateTranscriptionResponseStreamEvent
impl RefUnwindSafe for CreateTranscriptionResponseStreamEvent
impl Send for CreateTranscriptionResponseStreamEvent
impl Sync for CreateTranscriptionResponseStreamEvent
impl Unpin for CreateTranscriptionResponseStreamEvent
impl UnwindSafe for CreateTranscriptionResponseStreamEvent
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