pub enum Record {
Sample {
output: u16,
time: i64,
values: Vec<Option<f32>>,
},
Word {
output: u16,
start: i64,
end: i64,
text: String,
speaker: Option<String>,
},
Interval {
output: u16,
start: i64,
end: i64,
label: Option<String>,
score: Option<f32>,
},
}Expand description
One emitted value, by output index.
Variants§
Sample
A sample of a points, scalars or similarity output; None is a lost channel.
Fields
Word
A word of a words output.
Fields
Interval
An interval of an intervals output.
Implementations§
Trait Implementations§
impl StructuralPartialEq for Record
Auto Trait Implementations§
impl Forget for Record
impl Freeze for Record
impl Move for Record
impl RefUnwindSafe for Record
impl Send for Recordwhere
RawVecInner: Send,
impl Sync for Recordwhere
RawVecInner: Sync,
impl Unpin for Record
impl UnsafeUnpin for Recordwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Option<f32>>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
impl UnwindSafe for Recordwhere
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