pub trait EpisodeTrait {
Show 22 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_director(&self) -> &[DirectorProperty]; fn take_director(&mut self) -> Vec<DirectorProperty>; fn get_directors(&self) -> &[DirectorsProperty]; fn take_directors(&mut self) -> Vec<DirectorsProperty>; fn get_duration(&self) -> &[DurationProperty]; fn take_duration(&mut self) -> Vec<DurationProperty>; fn get_episode_number(&self) -> &[EpisodeNumberProperty]; fn take_episode_number(&mut self) -> Vec<EpisodeNumberProperty>; fn get_music_by(&self) -> &[MusicByProperty]; fn take_music_by(&mut self) -> Vec<MusicByProperty>; fn get_part_of_season(&self) -> &[PartOfSeasonProperty]; fn take_part_of_season(&mut self) -> Vec<PartOfSeasonProperty>; fn get_part_of_series(&self) -> &[PartOfSeriesProperty]; fn take_part_of_series(&mut self) -> Vec<PartOfSeriesProperty>; fn get_production_company(&self) -> &[ProductionCompanyProperty]; fn take_production_company(&mut self) -> Vec<ProductionCompanyProperty>; fn get_trailer(&self) -> &[TrailerProperty]; fn take_trailer(&mut self) -> Vec<TrailerProperty>;
}
Expand description

This trait is for properties from https://schema.org/Episode.

Required Methods§

source

fn get_actor(&self) -> &[ActorProperty]

Get https://schema.org/actor from Self as borrowed slice.

source

fn take_actor(&mut self) -> Vec<ActorProperty>

Take https://schema.org/actor from Self as owned vector.

source

fn get_actors(&self) -> &[ActorsProperty]

👎Deprecated: This schema is superseded by https://schema.org/actor.

Get https://schema.org/actors from Self as borrowed slice.

source

fn take_actors(&mut self) -> Vec<ActorsProperty>

👎Deprecated: This schema is superseded by https://schema.org/actor.

Take https://schema.org/actors from Self as owned vector.

source

fn get_director(&self) -> &[DirectorProperty]

Get https://schema.org/director from Self as borrowed slice.

source

fn take_director(&mut self) -> Vec<DirectorProperty>

Take https://schema.org/director from Self as owned vector.

source

fn get_directors(&self) -> &[DirectorsProperty]

👎Deprecated: This schema is superseded by https://schema.org/director.

Get https://schema.org/directors from Self as borrowed slice.

source

fn take_directors(&mut self) -> Vec<DirectorsProperty>

👎Deprecated: This schema is superseded by https://schema.org/director.

Take https://schema.org/directors from Self as owned vector.

source

fn get_duration(&self) -> &[DurationProperty]

Get https://schema.org/duration from Self as borrowed slice.

source

fn take_duration(&mut self) -> Vec<DurationProperty>

Take https://schema.org/duration from Self as owned vector.

source

fn get_episode_number(&self) -> &[EpisodeNumberProperty]

Get https://schema.org/episodeNumber from Self as borrowed slice.

source

fn take_episode_number(&mut self) -> Vec<EpisodeNumberProperty>

Take https://schema.org/episodeNumber from Self as owned vector.

source

fn get_music_by(&self) -> &[MusicByProperty]

Get https://schema.org/musicBy from Self as borrowed slice.

source

fn take_music_by(&mut self) -> Vec<MusicByProperty>

Take https://schema.org/musicBy from Self as owned vector.

source

fn get_part_of_season(&self) -> &[PartOfSeasonProperty]

Get https://schema.org/partOfSeason from Self as borrowed slice.

source

fn take_part_of_season(&mut self) -> Vec<PartOfSeasonProperty>

Take https://schema.org/partOfSeason from Self as owned vector.

source

fn get_part_of_series(&self) -> &[PartOfSeriesProperty]

Get https://schema.org/partOfSeries from Self as borrowed slice.

source

fn take_part_of_series(&mut self) -> Vec<PartOfSeriesProperty>

Take https://schema.org/partOfSeries from Self as owned vector.

source

fn get_production_company(&self) -> &[ProductionCompanyProperty]

Get https://schema.org/productionCompany from Self as borrowed slice.

source

fn take_production_company(&mut self) -> Vec<ProductionCompanyProperty>

Take https://schema.org/productionCompany from Self as owned vector.

source

fn get_trailer(&self) -> &[TrailerProperty]

Get https://schema.org/trailer from Self as borrowed slice.

source

fn take_trailer(&mut self) -> Vec<TrailerProperty>

Take https://schema.org/trailer from Self as owned vector.

Implementors§