Struct imdb_async::Episode
source · pub struct Episode {
pub season: u16,
pub episode: u16,
pub imdb_id: u32,
pub title: CompactString,
pub year: Option<u16>,
pub runtime_minutes: Option<u16>,
}
Expand description
Represents an episode of a TV series from IMDB. Pared down from Title and EpisodeLink based on fields that make sense for an individual episode.
Fields§
§season: u16
§episode: u16
§imdb_id: u32
§title: CompactString
§year: Option<u16>
§runtime_minutes: Option<u16>
Trait Implementations§
source§impl Ord for Episode
impl Ord for Episode
source§impl PartialEq for Episode
impl PartialEq for Episode
source§impl PartialOrd for Episode
impl PartialOrd for Episode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Episode
impl StructuralPartialEq for Episode
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)