pub struct Subtitle {
pub index: u32,
pub start: Timestamp,
pub end: Timestamp,
pub text: String,
}Expand description
Represents a single subtitle entry
Fields§
§index: u32§start: Timestamp§end: Timestamp§text: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for Subtitle
impl<'de> Deserialize<'de> for Subtitle
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 Subtitle
Auto Trait Implementations§
impl Freeze for Subtitle
impl RefUnwindSafe for Subtitle
impl Send for Subtitle
impl Sync for Subtitle
impl Unpin for Subtitle
impl UnwindSafe for Subtitle
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