pub struct Word {
pub text: String,
pub start_ms: u32,
pub end_ms: u32,
pub confidence: f32,
pub speaker: Option<u32>,
}Available on crate feature
audio only.Expand description
A single word with timing and confidence.
Fields§
§text: StringThe word text.
start_ms: u32Start time in milliseconds.
end_ms: u32End time in milliseconds.
confidence: f32Word-level confidence (0.0–1.0).
speaker: Option<u32>Speaker ID if diarization is enabled.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Word
impl RefUnwindSafe for Word
impl Send for Word
impl Sync for Word
impl Unpin for Word
impl UnsafeUnpin for Word
impl UnwindSafe for Word
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