Trait schema_org_types::TvSeriesTrait
source · pub trait TvSeriesTrait {
Show 32 methods
// Required methods
fn get_actor(&self) -> &[ActorProperty];
fn take_actor(&mut self) -> Vec<ActorProperty>;
fn get_actors(&self) -> &[ActorsProperty];
fn take_actors(&mut self) -> Vec<ActorsProperty>;
fn get_contains_season(&self) -> &[ContainsSeasonProperty];
fn take_contains_season(&mut self) -> Vec<ContainsSeasonProperty>;
fn get_country_of_origin(&self) -> &[CountryOfOriginProperty];
fn take_country_of_origin(&mut self) -> Vec<CountryOfOriginProperty>;
fn get_director(&self) -> &[DirectorProperty];
fn take_director(&mut self) -> Vec<DirectorProperty>;
fn get_directors(&self) -> &[DirectorsProperty];
fn take_directors(&mut self) -> Vec<DirectorsProperty>;
fn get_episode(&self) -> &[EpisodeProperty];
fn take_episode(&mut self) -> Vec<EpisodeProperty>;
fn get_episodes(&self) -> &[EpisodesProperty];
fn take_episodes(&mut self) -> Vec<EpisodesProperty>;
fn get_music_by(&self) -> &[MusicByProperty];
fn take_music_by(&mut self) -> Vec<MusicByProperty>;
fn get_number_of_episodes(&self) -> &[NumberOfEpisodesProperty];
fn take_number_of_episodes(&mut self) -> Vec<NumberOfEpisodesProperty>;
fn get_number_of_seasons(&self) -> &[NumberOfSeasonsProperty];
fn take_number_of_seasons(&mut self) -> Vec<NumberOfSeasonsProperty>;
fn get_production_company(&self) -> &[ProductionCompanyProperty];
fn take_production_company(&mut self) -> Vec<ProductionCompanyProperty>;
fn get_season(&self) -> &[SeasonProperty];
fn take_season(&mut self) -> Vec<SeasonProperty>;
fn get_seasons(&self) -> &[SeasonsProperty];
fn take_seasons(&mut self) -> Vec<SeasonsProperty>;
fn get_title_eidr(&self) -> &[TitleEidrProperty];
fn take_title_eidr(&mut self) -> Vec<TitleEidrProperty>;
fn get_trailer(&self) -> &[TrailerProperty];
fn take_trailer(&mut self) -> Vec<TrailerProperty>;
}
Expand description
This trait is for properties from https://schema.org/TVSeries.
Required Methods§
sourcefn get_actor(&self) -> &[ActorProperty]
fn get_actor(&self) -> &[ActorProperty]
Get https://schema.org/actor from Self
as borrowed slice.
sourcefn take_actor(&mut self) -> Vec<ActorProperty>
fn take_actor(&mut self) -> Vec<ActorProperty>
Take https://schema.org/actor from Self
as owned vector.
sourcefn get_actors(&self) -> &[ActorsProperty]
fn get_actors(&self) -> &[ActorsProperty]
Get https://schema.org/actors from Self
as borrowed slice.
sourcefn take_actors(&mut self) -> Vec<ActorsProperty>
fn take_actors(&mut self) -> Vec<ActorsProperty>
Take https://schema.org/actors from Self
as owned vector.
sourcefn get_contains_season(&self) -> &[ContainsSeasonProperty]
fn get_contains_season(&self) -> &[ContainsSeasonProperty]
Get https://schema.org/containsSeason from Self
as borrowed slice.
sourcefn take_contains_season(&mut self) -> Vec<ContainsSeasonProperty>
fn take_contains_season(&mut self) -> Vec<ContainsSeasonProperty>
Take https://schema.org/containsSeason from Self
as owned vector.
sourcefn get_country_of_origin(&self) -> &[CountryOfOriginProperty]
fn get_country_of_origin(&self) -> &[CountryOfOriginProperty]
Get https://schema.org/countryOfOrigin from Self
as borrowed slice.
sourcefn take_country_of_origin(&mut self) -> Vec<CountryOfOriginProperty>
fn take_country_of_origin(&mut self) -> Vec<CountryOfOriginProperty>
Take https://schema.org/countryOfOrigin from Self
as owned vector.
sourcefn get_director(&self) -> &[DirectorProperty]
fn get_director(&self) -> &[DirectorProperty]
Get https://schema.org/director from Self
as borrowed slice.
sourcefn take_director(&mut self) -> Vec<DirectorProperty>
fn take_director(&mut self) -> Vec<DirectorProperty>
Take https://schema.org/director from Self
as owned vector.
sourcefn get_directors(&self) -> &[DirectorsProperty]
fn get_directors(&self) -> &[DirectorsProperty]
Get https://schema.org/directors from Self
as borrowed slice.
sourcefn take_directors(&mut self) -> Vec<DirectorsProperty>
fn take_directors(&mut self) -> Vec<DirectorsProperty>
Take https://schema.org/directors from Self
as owned vector.
sourcefn get_episode(&self) -> &[EpisodeProperty]
fn get_episode(&self) -> &[EpisodeProperty]
Get https://schema.org/episode from Self
as borrowed slice.
sourcefn take_episode(&mut self) -> Vec<EpisodeProperty>
fn take_episode(&mut self) -> Vec<EpisodeProperty>
Take https://schema.org/episode from Self
as owned vector.
sourcefn get_episodes(&self) -> &[EpisodesProperty]
fn get_episodes(&self) -> &[EpisodesProperty]
Get https://schema.org/episodes from Self
as borrowed slice.
sourcefn take_episodes(&mut self) -> Vec<EpisodesProperty>
fn take_episodes(&mut self) -> Vec<EpisodesProperty>
Take https://schema.org/episodes from Self
as owned vector.
sourcefn get_music_by(&self) -> &[MusicByProperty]
fn get_music_by(&self) -> &[MusicByProperty]
Get https://schema.org/musicBy from Self
as borrowed slice.
sourcefn take_music_by(&mut self) -> Vec<MusicByProperty>
fn take_music_by(&mut self) -> Vec<MusicByProperty>
Take https://schema.org/musicBy from Self
as owned vector.
sourcefn get_number_of_episodes(&self) -> &[NumberOfEpisodesProperty]
fn get_number_of_episodes(&self) -> &[NumberOfEpisodesProperty]
Get https://schema.org/numberOfEpisodes from Self
as borrowed slice.
sourcefn take_number_of_episodes(&mut self) -> Vec<NumberOfEpisodesProperty>
fn take_number_of_episodes(&mut self) -> Vec<NumberOfEpisodesProperty>
Take https://schema.org/numberOfEpisodes from Self
as owned vector.
sourcefn get_number_of_seasons(&self) -> &[NumberOfSeasonsProperty]
fn get_number_of_seasons(&self) -> &[NumberOfSeasonsProperty]
Get https://schema.org/numberOfSeasons from Self
as borrowed slice.
sourcefn take_number_of_seasons(&mut self) -> Vec<NumberOfSeasonsProperty>
fn take_number_of_seasons(&mut self) -> Vec<NumberOfSeasonsProperty>
Take https://schema.org/numberOfSeasons from Self
as owned vector.
sourcefn get_production_company(&self) -> &[ProductionCompanyProperty]
fn get_production_company(&self) -> &[ProductionCompanyProperty]
Get https://schema.org/productionCompany from Self
as borrowed slice.
sourcefn take_production_company(&mut self) -> Vec<ProductionCompanyProperty>
fn take_production_company(&mut self) -> Vec<ProductionCompanyProperty>
Take https://schema.org/productionCompany from Self
as owned vector.
sourcefn get_season(&self) -> &[SeasonProperty]
fn get_season(&self) -> &[SeasonProperty]
Get https://schema.org/season from Self
as borrowed slice.
sourcefn take_season(&mut self) -> Vec<SeasonProperty>
fn take_season(&mut self) -> Vec<SeasonProperty>
Take https://schema.org/season from Self
as owned vector.
sourcefn get_seasons(&self) -> &[SeasonsProperty]
fn get_seasons(&self) -> &[SeasonsProperty]
Get https://schema.org/seasons from Self
as borrowed slice.
sourcefn take_seasons(&mut self) -> Vec<SeasonsProperty>
fn take_seasons(&mut self) -> Vec<SeasonsProperty>
Take https://schema.org/seasons from Self
as owned vector.
sourcefn get_title_eidr(&self) -> &[TitleEidrProperty]
fn get_title_eidr(&self) -> &[TitleEidrProperty]
Get https://schema.org/titleEIDR from Self
as borrowed slice.
sourcefn take_title_eidr(&mut self) -> Vec<TitleEidrProperty>
fn take_title_eidr(&mut self) -> Vec<TitleEidrProperty>
Take https://schema.org/titleEIDR from Self
as owned vector.
sourcefn get_trailer(&self) -> &[TrailerProperty]
fn get_trailer(&self) -> &[TrailerProperty]
Get https://schema.org/trailer from Self
as borrowed slice.
sourcefn take_trailer(&mut self) -> Vec<TrailerProperty>
fn take_trailer(&mut self) -> Vec<TrailerProperty>
Take https://schema.org/trailer from Self
as owned vector.