pub struct AddonSubtitle {
pub track: u32,
pub left_out: Option<String>,
}Expand description
A subtitle as an add-on (ReadTrackSubtitle), always WebVTT.
Fields§
§track: u32Its place in Tracks’ subtitles.
left_out: Option<String>Why it cannot be an add-on (teletext or CEA-608 the server cannot
read, pictures in a language it cannot read as text), said to the
user as it is; None when it can.
Trait Implementations§
Source§impl Clone for AddonSubtitle
impl Clone for AddonSubtitle
Source§impl Debug for AddonSubtitle
impl Debug for AddonSubtitle
Source§impl<'de> Deserialize<'de> for AddonSubtitle
impl<'de> Deserialize<'de> for AddonSubtitle
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 Eq for AddonSubtitle
Source§impl PartialEq for AddonSubtitle
impl PartialEq for AddonSubtitle
Source§impl Serialize for AddonSubtitle
impl Serialize for AddonSubtitle
impl StructuralPartialEq for AddonSubtitle
Auto Trait Implementations§
impl Forget for AddonSubtitle
impl Freeze for AddonSubtitle
impl Move for AddonSubtitle
impl RefUnwindSafe for AddonSubtitle
impl Send for AddonSubtitle
impl Sync for AddonSubtitle
impl Unpin for AddonSubtitle
impl UnsafeUnpin for AddonSubtitle
impl UnwindSafe for AddonSubtitle
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