pub struct TranscriptWord {
pub text: String,
pub start_seconds: Option<f64>,
pub end_seconds: Option<f64>,
pub confidence: Option<f32>,
}Expand description
Optional word-level transcript timing.
Fields§
§text: StringWord text.
start_seconds: Option<f64>Optional start time in seconds.
end_seconds: Option<f64>Optional end time in seconds.
confidence: Option<f32>Optional confidence.
Trait Implementations§
Source§impl Clone for TranscriptWord
impl Clone for TranscriptWord
Source§fn clone(&self) -> TranscriptWord
fn clone(&self) -> TranscriptWord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 TranscriptWord
impl Debug for TranscriptWord
Source§impl From<TranscriptWord> for TranscriptWordContract
impl From<TranscriptWord> for TranscriptWordContract
Source§fn from(value: TranscriptWord) -> Self
fn from(value: TranscriptWord) -> Self
Converts to this type from the input type.
Source§impl From<TranscriptWordContract> for TranscriptWord
impl From<TranscriptWordContract> for TranscriptWord
Source§fn from(value: TranscriptWordContract) -> Self
fn from(value: TranscriptWordContract) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TranscriptWord
impl PartialEq for TranscriptWord
Source§fn eq(&self, other: &TranscriptWord) -> bool
fn eq(&self, other: &TranscriptWord) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TranscriptWord
Auto Trait Implementations§
impl Freeze for TranscriptWord
impl RefUnwindSafe for TranscriptWord
impl Send for TranscriptWord
impl Sync for TranscriptWord
impl Unpin for TranscriptWord
impl UnsafeUnpin for TranscriptWord
impl UnwindSafe for TranscriptWord
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