pub struct MediaItem {Show 14 fields
pub id: MediaItemId,
pub kind: MediaKind,
pub title: String,
pub original_title: Option<String>,
pub overview: Option<String>,
pub release_date: Option<NaiveDate>,
pub original_language: Option<String>,
pub genres: Vec<String>,
pub runtime_minutes: Option<u16>,
pub certification: Option<String>,
pub popularity: Option<f32>,
pub vote_average: Option<f32>,
pub vote_count: Option<u32>,
pub external_ids: Vec<ExternalId>,
}Expand description
Provider-independent movie or TV catalogue entry.
Fields§
§id: MediaItemId§kind: MediaKind§title: String§original_title: Option<String>§overview: Option<String>§release_date: Option<NaiveDate>§original_language: Option<String>§genres: Vec<String>§runtime_minutes: Option<u16>§certification: Option<String>Regional content certification when available (e.g. Spain’s 12 or 18).
popularity: Option<f32>Provider popularity signal, retained for deterministic ranking.
vote_average: Option<f32>§vote_count: Option<u32>§external_ids: Vec<ExternalId>Trait Implementations§
Source§impl<'de> Deserialize<'de> for MediaItem
impl<'de> Deserialize<'de> for MediaItem
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 StructuralPartialEq for MediaItem
Auto Trait Implementations§
impl Freeze for MediaItem
impl RefUnwindSafe for MediaItem
impl Send for MediaItem
impl Sync for MediaItem
impl Unpin for MediaItem
impl UnsafeUnpin for MediaItem
impl UnwindSafe for MediaItem
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