pub struct TranscriptionTextDoneEvent {
pub text: String,
pub logprobs: Option<Vec<LogProbProperties>>,
pub usage: TranscriptTextUsageTokens,
}Fields§
§text: StringThe text that was 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.
usage: TranscriptTextUsageTokensUsage statistics for models billed by token usage.
Trait Implementations§
Source§impl Clone for TranscriptionTextDoneEvent
impl Clone for TranscriptionTextDoneEvent
Source§fn clone(&self) -> TranscriptionTextDoneEvent
fn clone(&self) -> TranscriptionTextDoneEvent
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 TranscriptionTextDoneEvent
impl Debug for TranscriptionTextDoneEvent
Source§impl<'de> Deserialize<'de> for TranscriptionTextDoneEvent
impl<'de> Deserialize<'de> for TranscriptionTextDoneEvent
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 TranscriptionTextDoneEvent
impl EventType for TranscriptionTextDoneEvent
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 TranscriptionTextDoneEvent
impl RefUnwindSafe for TranscriptionTextDoneEvent
impl Send for TranscriptionTextDoneEvent
impl Sync for TranscriptionTextDoneEvent
impl Unpin for TranscriptionTextDoneEvent
impl UnwindSafe for TranscriptionTextDoneEvent
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