pub struct TranscriptionTextDeltaEvent {
pub delta: String,
pub logprobs: Option<Vec<LogProbProperties>>,
pub segment_id: Option<String>,
}Fields§
§delta: StringThe text delta that was additionally transcribed.
logprobs: Option<Vec<LogProbProperties>>The log probabilities of the individual tokens in the transcription.
Only included if you create a transcription with
the include[] parameter set to logprobs.
segment_id: Option<String>Identifier of the diarized segment that this delta belongs to. Only present when using
gpt-4o-transcribe-diarize.
Trait Implementations§
Source§impl Clone for TranscriptionTextDeltaEvent
impl Clone for TranscriptionTextDeltaEvent
Source§fn clone(&self) -> TranscriptionTextDeltaEvent
fn clone(&self) -> TranscriptionTextDeltaEvent
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 Debug for TranscriptionTextDeltaEvent
impl Debug for TranscriptionTextDeltaEvent
Source§impl<'de> Deserialize<'de> for TranscriptionTextDeltaEvent
impl<'de> Deserialize<'de> for TranscriptionTextDeltaEvent
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 TranscriptionTextDeltaEvent
impl EventType for TranscriptionTextDeltaEvent
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 TranscriptionTextDeltaEvent
impl RefUnwindSafe for TranscriptionTextDeltaEvent
impl Send for TranscriptionTextDeltaEvent
impl Sync for TranscriptionTextDeltaEvent
impl Unpin for TranscriptionTextDeltaEvent
impl UnwindSafe for TranscriptionTextDeltaEvent
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