pub struct DataWord {
pub start: MediaTime,
pub end: MediaTime,
pub text: String,
pub speaker: Option<String>,
}Expand description
One timed word.
Fields§
§start: MediaTimeWhen the word starts, in ticks on the anchor’s clock.
end: MediaTimeWhen it ends; after start.
text: StringThe word, non-empty, at most MAX_DATA_LABEL_BYTES bytes.
speaker: Option<String>Who says it, at most MAX_DATA_LABEL_BYTES bytes.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DataWord
impl<'de> Deserialize<'de> for DataWord
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
impl StructuralPartialEq for DataWord
Auto Trait Implementations§
impl Forget for DataWord
impl Freeze for DataWord
impl Move for DataWord
impl RefUnwindSafe for DataWord
impl Send for DataWord
impl Sync for DataWord
impl Unpin for DataWord
impl UnsafeUnpin for DataWord
impl UnwindSafe for DataWord
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