Struct plex_api::media_container::server::library::SubtitleStream
source · pub struct SubtitleStream {Show 22 fields
pub id: u64,
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: String,
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: u64§stream_type: MustBePosInt<3>§index: Option<u32>§codec: SubtitleCodec§default: Option<bool>§selected: Option<bool>§title: Option<String>§display_title: String§extended_display_title: String§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 copy 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 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