Enum imdb_async::Genre
source · #[repr(u8)]
pub enum Genre {
Show 29 variants
Action,
Adult,
Adventure,
Animation,
Biography,
Comedy,
Crime,
Documentary,
Drama,
Experimental,
Family,
Fantasy,
FilmNoir,
GameShow,
History,
Horror,
Music,
Musical,
Mystery,
News,
RealityTv,
Romance,
SciFi,
Short,
Sport,
TalkShow,
Thriller,
War,
Western,
}
Expand description
Identifies the genre of a Title. Often, a title will have multiple.
Variants§
Action
Adult
Adventure
Animation
Biography
Comedy
Crime
Documentary
Drama
Experimental
Family
Fantasy
FilmNoir
GameShow
History
Horror
Music
Musical
Mystery
News
RealityTv
Romance
SciFi
Short
Sport
TalkShow
Thriller
War
Western
Trait Implementations§
source§impl<'de> Deserialize<'de> for Genre
impl<'de> Deserialize<'de> for Genre
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
source§impl PartialEq<Genre> for Genre
impl PartialEq<Genre> for Genre
impl Copy for Genre
impl Eq for Genre
impl StructuralEq for Genre
impl StructuralPartialEq for Genre
Auto Trait Implementations§
impl RefUnwindSafe for Genre
impl Send for Genre
impl Sync for Genre
impl Unpin for Genre
impl UnwindSafe for Genre
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.