#[repr(u8)]pub enum TitleType {
Short = 0,
Movie = 1,
Episode = 2,
TVSeries = 3,
TVShort = 4,
TVSpecial = 5,
Video = 6,
VideoGame = 7,
Audiobook = 8,
RadioSeries = 9,
RadioEpisode = 10,
}
Expand description
Identifies the type of a Title. IMDB has more possible values that, because this crate is opinionated, we collapse down.
For example, “episode”, “tvEpisode”, and “tvPilot” all become TitleType::Episode.
Variants§
Short = 0
Movie = 1
Episode = 2
TVSeries = 3
TVShort = 4
TVSpecial = 5
Video = 6
VideoGame = 7
Audiobook = 8
RadioSeries = 9
RadioEpisode = 10
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TitleType
impl<'de> Deserialize<'de> for TitleType
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 Copy for TitleType
impl Eq for TitleType
impl StructuralPartialEq for TitleType
Auto Trait Implementations§
impl Freeze for TitleType
impl RefUnwindSafe for TitleType
impl Send for TitleType
impl Sync for TitleType
impl Unpin for TitleType
impl UnwindSafe for TitleType
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