pub struct SubtitleTrack {
pub language_code: String,
pub language_name: String,
pub track_type: SubtitleTrackType,
pub is_translatable: bool,
pub url: Option<String>,
}
Expand description
Information about available subtitle tracks
Fields§
§language_code: String
§language_name: String
§track_type: SubtitleTrackType
§is_translatable: bool
§url: Option<String>
Implementations§
Source§impl SubtitleTrack
impl SubtitleTrack
Trait 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 · 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
Auto Trait Implementations§
impl Freeze for SubtitleTrack
impl RefUnwindSafe for SubtitleTrack
impl Send for SubtitleTrack
impl Sync for SubtitleTrack
impl Unpin 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