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
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.