#[non_exhaustive]pub struct TranscriptWord {
pub text: String,
pub start: f64,
pub end: f64,
pub speaker: Option<String>,
pub extras: Extras,
}Expand description
A timed word of a transcript.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.text: String§start: f64§end: f64§speaker: Option<String>§extras: ExtrasImplementations§
Trait Implementations§
Source§impl Clone for TranscriptWord
impl Clone for TranscriptWord
Source§impl Debug for TranscriptWord
impl Debug for TranscriptWord
Source§impl Default for TranscriptWord
impl Default for TranscriptWord
Source§impl<'de> Deserialize<'de> for TranscriptWord
impl<'de> Deserialize<'de> for TranscriptWord
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TranscriptWord
impl PartialEq for TranscriptWord
Source§impl Serialize for TranscriptWord
impl Serialize for TranscriptWord
impl StructuralPartialEq for TranscriptWord
Auto Trait Implementations§
impl Forget for TranscriptWord
impl Freeze for TranscriptWordwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<Bucket<String, RawJson>>: Freeze,
PhantomData<Bucket<String, Value>>: Freeze,
impl Move for TranscriptWord
impl RefUnwindSafe for TranscriptWord
impl Send for TranscriptWord
impl Sync for TranscriptWord
impl Unpin for TranscriptWord
impl UnsafeUnpin for TranscriptWordwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<Bucket<String, RawJson>>: UnsafeUnpin,
PhantomData<Bucket<String, Value>>: UnsafeUnpin,
impl UnwindSafe for TranscriptWordwhere
RawVecInner: UnwindSafe,
NonNull<u8>: UnwindSafe,
BoxRaw<RawValue>: UnwindSafe,
BTreeMap<String, Value>: 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