pub struct CreateTranscriptionResponseDiarizedJson {
pub task: Option<CreateTranscriptionResponseDiarizedJsonTask>,
pub duration: Option<f32>,
pub text: String,
pub segments: Vec<TranscriptionDiarizedSegment>,
pub usage: TranscriptionUsage,
}Fields§
§task: Option<CreateTranscriptionResponseDiarizedJsonTask>The type of task that was run. Always transcribe.
duration: Option<f32>Duration of the input audio in seconds.
text: StringThe concatenated transcript text for the entire audio input.
segments: Vec<TranscriptionDiarizedSegment>Segments of the transcript annotated with timestamps and speaker labels.
usage: TranscriptionUsageToken or duration usage statistics for the request.
Trait Implementations§
Source§impl Clone for CreateTranscriptionResponseDiarizedJson
impl Clone for CreateTranscriptionResponseDiarizedJson
Source§fn clone(&self) -> CreateTranscriptionResponseDiarizedJson
fn clone(&self) -> CreateTranscriptionResponseDiarizedJson
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<'de> Deserialize<'de> for CreateTranscriptionResponseDiarizedJson
impl<'de> Deserialize<'de> for CreateTranscriptionResponseDiarizedJson
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
Auto Trait Implementations§
impl Freeze for CreateTranscriptionResponseDiarizedJson
impl RefUnwindSafe for CreateTranscriptionResponseDiarizedJson
impl Send for CreateTranscriptionResponseDiarizedJson
impl Sync for CreateTranscriptionResponseDiarizedJson
impl Unpin for CreateTranscriptionResponseDiarizedJson
impl UnwindSafe for CreateTranscriptionResponseDiarizedJson
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