pub struct FakeAsrSegment {
pub start_ms: u64,
pub end_ms: u64,
pub text: String,
}Expand description
One deterministic speech transcript segment.
Fields§
§start_ms: u64Segment start offset in milliseconds.
end_ms: u64Segment end offset in milliseconds, at or after the start.
text: StringTranscribed text for this segment.
Implementations§
Trait Implementations§
Source§impl Clone for FakeAsrSegment
impl Clone for FakeAsrSegment
Source§fn clone(&self) -> FakeAsrSegment
fn clone(&self) -> FakeAsrSegment
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FakeAsrSegment
impl Debug for FakeAsrSegment
impl Eq for FakeAsrSegment
Source§impl PartialEq for FakeAsrSegment
impl PartialEq for FakeAsrSegment
Source§fn eq(&self, other: &FakeAsrSegment) -> bool
fn eq(&self, other: &FakeAsrSegment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for FakeAsrSegment
Auto Trait Implementations§
impl Freeze for FakeAsrSegment
impl RefUnwindSafe for FakeAsrSegment
impl Send for FakeAsrSegment
impl Sync for FakeAsrSegment
impl Unpin for FakeAsrSegment
impl UnsafeUnpin for FakeAsrSegment
impl UnwindSafe for FakeAsrSegment
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