pub struct SubtitleTrack {
pub language: String,
pub language_doc: Option<String>,
pub url: String,
pub format: SubtitleFormat,
}Fields§
§language: String§language_doc: Option<String>§url: String§format: SubtitleFormatTrait Implementations§
Source§impl Clone for SubtitleTrack
impl Clone for SubtitleTrack
Source§fn clone(&self) -> SubtitleTrack
fn clone(&self) -> SubtitleTrack
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 SubtitleTrack
impl Debug for SubtitleTrack
Source§impl<'de> Deserialize<'de> for SubtitleTrack
impl<'de> Deserialize<'de> for SubtitleTrack
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 SubtitleTrack
Source§impl PartialEq for SubtitleTrack
impl PartialEq for SubtitleTrack
Source§fn eq(&self, other: &SubtitleTrack) -> bool
fn eq(&self, other: &SubtitleTrack) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SubtitleTrack
impl Serialize for SubtitleTrack
impl StructuralPartialEq for SubtitleTrack
Auto Trait Implementations§
impl Freeze for SubtitleTrack
impl RefUnwindSafe for SubtitleTrack
impl Send for SubtitleTrack
impl Sync for SubtitleTrack
impl Unpin for SubtitleTrack
impl UnsafeUnpin for SubtitleTrack
impl UnwindSafe for SubtitleTrack
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