pub struct Token {
pub id: i32,
pub p: f32,
pub t0_ms: i64,
pub t1_ms: i64,
pub seg_index: i32,
pub word_index: i32,
pub text: String,
}Expand description
One token row. p is a per-token confidence hint (NaN when the family
produces none); its exact meaning is family-specific.
Fields§
§id: i32§p: f32§t0_ms: i64§t1_ms: i64§seg_index: i32§word_index: i32§text: StringTrait Implementations§
impl StructuralPartialEq for Token
Auto Trait Implementations§
impl Freeze for Token
impl RefUnwindSafe for Token
impl Send for Token
impl Sync for Token
impl Unpin for Token
impl UnsafeUnpin for Token
impl UnwindSafe for Token
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