pub struct CreateTranscriptionResponseVerboseJson {
pub language: String,
pub duration: f64,
pub text: String,
pub words: Vec<TranscriptionWord>,
pub segments: Vec<TranscriptionSegment>,
}Expand description
Represents a verbose json transcription response returned by model, based on the provided input.
Fields§
§language: StringThe language of the input audio.
duration: f64The duration of the input audio.
text: StringThe transcribed text.
words: Vec<TranscriptionWord>Extracted words and their corresponding timestamps.
segments: 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 copy 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 moreAuto 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