pub enum TitleKind {
Movie,
Short,
TVEpisode,
TVMiniSeries,
TVMovie,
TVSeries,
TVShort,
TVSpecial,
Video,
VideoGame,
}Expand description
The kind of a title. These form a partioning of all titles, where every title has exactly one kind.
This type has a FromStr implementation that permits parsing a string
containing a title kind into this type. Note that parsing a title kind
recognizes all forms present in the IMDb data, and also addition common
sense forms. For example, tvshow and tvSeries are both accepted as
terms for the TVSeries variant.
Variants§
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for TitleKind
impl<'de> Deserialize<'de> for TitleKind
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 Ord for TitleKind
impl Ord for TitleKind
Source§impl PartialOrd for TitleKind
impl PartialOrd for TitleKind
impl Copy for TitleKind
impl Eq for TitleKind
impl StructuralPartialEq for TitleKind
Auto Trait Implementations§
impl Freeze for TitleKind
impl RefUnwindSafe for TitleKind
impl Send for TitleKind
impl Sync for TitleKind
impl Unpin for TitleKind
impl UnwindSafe for TitleKind
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