pub struct TranscriptionResult {
pub text: String,
pub chunks: Vec<TranscriptChunk>,
pub tokens: Vec<TimedToken>,
pub duration_seconds: f64,
}Expand description
Final transcription output
Fields§
§text: StringFull transcript text
chunks: Vec<TranscriptChunk>Chunked transcript regions
tokens: Vec<TimedToken>Token-level timestamps
duration_seconds: f64Input audio duration in seconds
Trait Implementations§
Source§impl Clone for TranscriptionResult
impl Clone for TranscriptionResult
Source§fn clone(&self) -> TranscriptionResult
fn clone(&self) -> TranscriptionResult
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 TranscriptionResult
impl Debug for TranscriptionResult
Source§impl PartialEq for TranscriptionResult
impl PartialEq for TranscriptionResult
impl StructuralPartialEq for TranscriptionResult
Auto Trait Implementations§
impl Freeze for TranscriptionResult
impl RefUnwindSafe for TranscriptionResult
impl Send for TranscriptionResult
impl Sync for TranscriptionResult
impl Unpin for TranscriptionResult
impl UnsafeUnpin for TranscriptionResult
impl UnwindSafe for TranscriptionResult
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