pub struct Episode {Show 16 fields
pub id: MediaId,
pub show_id: MediaId,
pub show_title: Option<String>,
pub season_id: MediaId,
pub season: u32,
pub episode: u32,
pub title: String,
pub summary: Option<String>,
pub content_rating: Option<String>,
pub year: Option<u16>,
pub air_date: Option<CalendarDate>,
pub duration: Option<Duration>,
pub cast: Vec<CastMember>,
pub merge: MergeFacts,
pub artwork: Vec<Artwork>,
pub playback: PlaybackState,
}Fields§
§id: MediaId§show_id: MediaId§show_title: Option<String>The show’s title, so an episode shown alone (Continue watching) needs no second request.
season_id: MediaId§season: u32§episode: u32§title: String§summary: Option<String>§content_rating: Option<String>The episode’s own age rating, as on a movie; a client that has none here may show the show’s.
year: Option<u16>The year it first aired, for “2019” on its page: the catalog’s
own, else air_date’s.
This and air_date are not required::option, as
Movie::release_date is not.
air_date: Option<CalendarDate>The day it first aired, "YYYY-MM-DD".
duration: Option<Duration>§cast: Vec<CastMember>Who is in it and who directed it (see CastMember): the
episode’s own, which may leave out the show’s regulars. Left out,
no one, as Movie::cast.
merge: MergeFactsWhat an app merging several servers’ libraries sorts by and
matches copies by (MergeFacts). Left out of the wire when it
holds nothing, and read as nothing from an older server.
artwork: Vec<Artwork>§playback: PlaybackStateTrait Implementations§
Source§impl<'de> Deserialize<'de> for Episode
impl<'de> Deserialize<'de> for Episode
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 Eq for Episode
impl StructuralPartialEq for Episode
Auto Trait Implementations§
impl Forget for Episode
impl Freeze for Episode
impl Move for Episode
impl RefUnwindSafe for Episode
impl Send for Episode
impl Sync for Episode
impl Unpin for Episode
impl UnsafeUnpin for Episode
impl UnwindSafe for Episode
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