pub struct TranscriptTextDeltaEvent {
pub delta: String,
pub logprobs: Option<Vec<TranscriptTextDeltaEventLogprob>>,
}
Expand description
Emitted when there is an additional text delta. This is also the first event emitted when the transcription starts. Only emitted when you create a transcription with the Stream
parameter set to true
.
Fields§
§delta: String
The text delta that was additionally transcribed.
logprobs: Option<Vec<TranscriptTextDeltaEventLogprob>>
The log probabilities of the delta. Only included if you create a transcription with the include[]
parameter set to logprobs
.
Implementations§
Trait Implementations§
Source§impl Clone for TranscriptTextDeltaEvent
impl Clone for TranscriptTextDeltaEvent
Source§fn clone(&self) -> TranscriptTextDeltaEvent
fn clone(&self) -> TranscriptTextDeltaEvent
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 TranscriptTextDeltaEvent
impl Debug for TranscriptTextDeltaEvent
Source§impl<'de> Deserialize<'de> for TranscriptTextDeltaEvent
impl<'de> Deserialize<'de> for TranscriptTextDeltaEvent
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 PartialEq for TranscriptTextDeltaEvent
impl PartialEq for TranscriptTextDeltaEvent
Source§impl Serialize for TranscriptTextDeltaEvent
impl Serialize for TranscriptTextDeltaEvent
impl StructuralPartialEq for TranscriptTextDeltaEvent
Auto Trait Implementations§
impl Freeze for TranscriptTextDeltaEvent
impl RefUnwindSafe for TranscriptTextDeltaEvent
impl Send for TranscriptTextDeltaEvent
impl Sync for TranscriptTextDeltaEvent
impl Unpin for TranscriptTextDeltaEvent
impl UnwindSafe for TranscriptTextDeltaEvent
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