pub struct Segment {
pub t0_ms: i64,
pub t1_ms: i64,
pub first_word: i32,
pub n_words: i32,
pub first_token: i32,
pub n_tokens: i32,
pub text: String,
pub speaker_id: i32,
}Expand description
One segment row. Times are milliseconds relative to the original audio.
Fields§
§t0_ms: i64§t1_ms: i64§first_word: i32§n_words: i32§first_token: i32§n_tokens: i32§text: String§speaker_id: i321-based speaker id; zero means no attribution.
Trait Implementations§
impl StructuralPartialEq for Segment
Auto Trait Implementations§
impl Forget for Segment
impl Freeze for Segment
impl Move for Segment
impl RefUnwindSafe for Segment
impl Send for Segmentwhere
RawVecInner: Send,
impl Sync for Segmentwhere
RawVecInner: Sync,
impl Unpin for Segment
impl UnsafeUnpin for Segment
impl UnwindSafe for Segmentwhere
RawVecInner: UnwindSafe,
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