pub struct Episode {
pub id: String,
pub tvshow_id: String,
pub season: Option<u32>,
pub episode: Option<u32>,
}Expand description
A single episode record.
An episode record is an entry that joins two title records together, and provides episode specific information, such as the season and episode number. The two title records joined correspond to the title record for the TV show and the title record for the episode.
Fields§
§id: StringThe IMDb title identifier for this episode.
tvshow_id: StringThe IMDb title identifier for the parent TV show of this episode.
season: Option<u32>The season in which this episode is contained, if it exists.
episode: Option<u32>The episode number of the season in which this episode is contained, if it exists.
Trait 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
Auto Trait Implementations§
impl Freeze for Episode
impl RefUnwindSafe for Episode
impl Send for Episode
impl Sync for Episode
impl Unpin 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