#[repr(u8)]pub enum ParameterEnum {
Show 17 variants
Actor = 0,
Channel = 1,
Character = 2,
Director = 3,
Event = 4,
Franchise = 5,
Genre = 6,
League = 7,
Popularity = 8,
Provider = 9,
Sport = 10,
Sportsteam = 11,
Type = 12,
Video = 13,
Season = 14,
Episode = 15,
Any = 16,
}Variants§
Actor = 0
Actor represents an actor credited in video media content; for example, “Gaby Hoffman”
Channel = 1
Channel represents the identifying data for a television channel; for example, “PBS”
Character = 2
A character represented in video media content; for example, “Snow White”
Director = 3
A director of the video media content; for example, “Spike Lee”
Event = 4
An event is a reference to a type of event; examples would include sports, music, or other types of events. For example, searching for “Football games” would search for a ‘game’ event entity and a ‘football’ sport entity.
Franchise = 5
A franchise is a video entity which can represent a number of video entities, like movies or TV shows. For example, take the fictional franchise “Intergalactic Wars” which represents a collection of movie trilogies, as well as animated and live action TV shows. This entity type was introduced to account for requests by customers such as “Find Intergalactic Wars movies”, which would search for all ‘Intergalactic Wars’ programs of the MOVIE MediaType, rather than attempting to match to a single title.
Genre = 6
Genre represents the genre of video media content such as action, drama or comedy.
League = 7
League represents the categorical information for a sporting league; for example, “NCAA”
Popularity = 8
Popularity indicates whether the user asks for popular content.
Provider = 9
The provider (MSP) the user wants this media to be played on; for example, “Netflix”.
Sport = 10
Sport represents the categorical information of a sport; for example, football
Sportsteam = 11
SportsTeam represents the categorical information of a professional sports team; for example, “University of Washington Huskies”
Type = 12
The type of content requested. Supported types are “Movie”, “MovieSeries”, “TVSeries”, “TVSeason”, “TVEpisode”, “Trailer”, “SportsEvent”, “LiveEvent”, and “Video”
Video = 13
Video represents the identifying data for a specific piece of video content; for example, “Manchester by the Sea”.
Season = 14
Season represents the specific season number within a TV series.
Episode = 15
Episode represents a specific episode number within a Season in a TV series.
Any = 16
Represents a search text input across many parameter types or even outside of the defined param types.
Implementations§
Trait Implementations§
Source§impl Clone for ParameterEnum
impl Clone for ParameterEnum
Source§fn clone(&self) -> ParameterEnum
fn clone(&self) -> ParameterEnum
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more