Struct imdb_async::Show
source · pub struct Show { /* private fields */ }
Expand description
Represents a TV series from IMDB.
Implementations§
source§impl Show
impl Show
pub fn title(&self) -> &<CompactString as Deref>::Target
pub fn is_adult(&self) -> bool
pub fn start_year(&self) -> u16
pub fn end_year(&self) -> Option<u16>
pub fn runtime_minutes(&self) -> Option<u16>
pub fn genres(&self) -> &<ArrayVec<Genre, 3> as Deref>::Target
pub fn episodes(&self) -> &<Vec<Episode> as Deref>::Target ⓘ
Trait Implementations§
source§impl PartialEq<Show> for Show
impl PartialEq<Show> for Show
impl Eq for Show
impl StructuralEq for Show
impl StructuralPartialEq for Show
Auto Trait Implementations§
impl RefUnwindSafe for Show
impl Send for Show
impl Sync for Show
impl Unpin for Show
impl UnwindSafe for Show
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.