pub struct SubtitleStream {Show 23 fields
pub id: String,
pub stream_type: MustBePosInt<3>,
pub index: Option<u32>,
pub codec: SubtitleCodec,
pub default: Option<bool>,
pub selected: Option<bool>,
pub title: Option<String>,
pub display_title: String,
pub extended_display_title: Option<String>,
pub forced: Option<bool>,
pub required_bandwidths: Option<Vec<u32>>,
pub decision: Option<Decision>,
pub location: Option<String>,
pub key: Option<String>,
pub format: Option<String>,
pub file: Option<String>,
pub bitrate: Option<u32>,
pub hearing_impaired: Option<bool>,
pub language: Option<String>,
pub language_code: Option<String>,
pub language_tag: Option<String>,
pub ignore: Option<String>,
pub burn: Option<String>,
}
Fields§
§id: String
§stream_type: MustBePosInt<3>
§index: Option<u32>
§codec: SubtitleCodec
§default: Option<bool>
§selected: Option<bool>
§title: Option<String>
§display_title: String
§extended_display_title: Option<String>
§forced: Option<bool>
§required_bandwidths: Option<Vec<u32>>
§decision: Option<Decision>
§location: Option<String>
§key: Option<String>
§format: Option<String>
§file: Option<String>
§bitrate: Option<u32>
§hearing_impaired: Option<bool>
§language: Option<String>
§language_code: Option<String>
§language_tag: Option<String>
§ignore: Option<String>
§burn: Option<String>
Trait Implementations§
Source§impl Clone for SubtitleStream
impl Clone for SubtitleStream
Source§fn clone(&self) -> SubtitleStream
fn clone(&self) -> SubtitleStream
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SubtitleStream
impl Debug for SubtitleStream
Source§impl<'de> Deserialize<'de> for SubtitleStream
impl<'de> Deserialize<'de> for SubtitleStream
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 SubtitleStream
impl RefUnwindSafe for SubtitleStream
impl Send for SubtitleStream
impl Sync for SubtitleStream
impl Unpin for SubtitleStream
impl UnwindSafe for SubtitleStream
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