Trait schema_org_types::MovieTrait
source · pub trait MovieTrait {
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_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_duration(&self) -> &[DurationProperty];
fn take_duration(&mut self) -> Vec<DurationProperty>;
fn get_music_by(&self) -> &[MusicByProperty];
fn take_music_by(&mut self) -> Vec<MusicByProperty>;
fn get_production_company(&self) -> &[ProductionCompanyProperty];
fn take_production_company(&mut self) -> Vec<ProductionCompanyProperty>;
fn get_subtitle_language(&self) -> &[SubtitleLanguageProperty];
fn take_subtitle_language(&mut self) -> Vec<SubtitleLanguageProperty>;
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/Movie.
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_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_duration(&self) -> &[DurationProperty]
fn get_duration(&self) -> &[DurationProperty]
Get https://schema.org/duration from Self
as borrowed slice.
sourcefn take_duration(&mut self) -> Vec<DurationProperty>
fn take_duration(&mut self) -> Vec<DurationProperty>
Take https://schema.org/duration 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_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_subtitle_language(&self) -> &[SubtitleLanguageProperty]
fn get_subtitle_language(&self) -> &[SubtitleLanguageProperty]
Get https://schema.org/subtitleLanguage from Self
as borrowed slice.
sourcefn take_subtitle_language(&mut self) -> Vec<SubtitleLanguageProperty>
fn take_subtitle_language(&mut self) -> Vec<SubtitleLanguageProperty>
Take https://schema.org/subtitleLanguage 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.