pub struct EstimateEvent {
pub word: String,
pub start_s: f32,
pub end_s: f32,
pub char_offset: i32,
pub char_len: i32,
}Expand description
One estimated boundary event with source-text position resolved.
Fields§
§word: StringThe spoken word.
start_s: f32Estimate start time in seconds (rate-1.0 baseline).
end_s: f32Estimate end time in seconds (rate-1.0 baseline).
char_offset: i32Byte offset into the spoken plain text (0 when unresolvable —
the plan holds the last known position). Named char_offset for
callback-contract continuity; the value is a byte index.
char_len: i32Byte length of the word (-1 when unresolvable).
Trait Implementations§
Source§impl Clone for EstimateEvent
impl Clone for EstimateEvent
Auto Trait Implementations§
impl Freeze for EstimateEvent
impl RefUnwindSafe for EstimateEvent
impl Send for EstimateEvent
impl Sync for EstimateEvent
impl Unpin for EstimateEvent
impl UnsafeUnpin for EstimateEvent
impl UnwindSafe for EstimateEvent
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