pub struct CreateTranscriptionResponseVerboseJson {
pub language: String,
pub duration: f64,
pub text: String,
pub words: Option<Vec<TranscriptionWord>>,
pub segments: Option<Vec<TranscriptionSegment>>,
}
Expand description
Represents a verbose json transcription response returned by model, based on the provided input.
Fields§
§language: String
The language of the input audio.
duration: f64
The duration of the input audio.
text: String
The transcribed text.
words: Option<Vec<TranscriptionWord>>
Extracted words and their corresponding timestamps.
segments: Option<Vec<TranscriptionSegment>>
Segments of the transcribed text and their corresponding details.
Trait Implementations§
Source§impl Clone for CreateTranscriptionResponseVerboseJson
impl Clone for CreateTranscriptionResponseVerboseJson
Source§fn clone(&self) -> CreateTranscriptionResponseVerboseJson
fn clone(&self) -> CreateTranscriptionResponseVerboseJson
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 Default for CreateTranscriptionResponseVerboseJson
impl Default for CreateTranscriptionResponseVerboseJson
Source§fn default() -> CreateTranscriptionResponseVerboseJson
fn default() -> CreateTranscriptionResponseVerboseJson
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CreateTranscriptionResponseVerboseJson
impl RefUnwindSafe for CreateTranscriptionResponseVerboseJson
impl Send for CreateTranscriptionResponseVerboseJson
impl Sync for CreateTranscriptionResponseVerboseJson
impl Unpin for CreateTranscriptionResponseVerboseJson
impl UnwindSafe for CreateTranscriptionResponseVerboseJson
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