pub struct Episode {Show 17 fields
pub title: String,
pub year: Option<u32>,
pub released: Option<String>,
pub pk: Option<u32>,
pub ids: Option<MediaIds>,
pub season: u32,
pub episode: u32,
pub watched: Option<bool>,
pub last_watched_at: Option<String>,
pub watchers: Option<u32>,
pub plays: Option<u32>,
pub img: Option<String>,
pub overview: Option<String>,
pub rating: Option<f32>,
pub votes: Option<u32>,
pub runtime: Option<u32>,
pub user_rating: Option<u8>,
}Expand description
A single episode as returned by GET /tv/episodes/{show_id} and
friends. Everything except the ordinal fields is optional — old
episodes often lack images, overviews, and community stats.
Fields§
§title: StringEpisode title.
year: Option<u32>Release year, if known.
released: Option<String>ISO-8601 release timestamp.
pk: Option<u32>Simkl’s internal primary-key. Numeric.
ids: Option<MediaIds>External identifier bag.
season: u321-based season number.
episode: u321-based episode number within the season.
watched: Option<bool>Whether the authenticated user has watched this episode.
last_watched_at: Option<String>ISO-8601 timestamp of the user’s last watch, if any.
watchers: Option<u32>Number of users who have watched the episode at least once.
plays: Option<u32>Total playcount across all users.
img: Option<String>CDN hash for the episode still. Assemble with crate::images.
overview: Option<String>Prose episode summary.
rating: Option<f32>Community rating on a 0–10 scale.
votes: Option<u32>Number of community rating votes.
runtime: Option<u32>Runtime in minutes.
user_rating: Option<u8>The authenticated user’s own 1–10 rating, if any.