Trait schema_org_types::VideoGameTrait
source · pub trait VideoGameTrait {
Show 24 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_cheat_code(&self) -> &[CheatCodeProperty];
fn take_cheat_code(&mut self) -> Vec<CheatCodeProperty>;
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_game_edition(&self) -> &[GameEditionProperty];
fn take_game_edition(&mut self) -> Vec<GameEditionProperty>;
fn get_game_platform(&self) -> &[GamePlatformProperty];
fn take_game_platform(&mut self) -> Vec<GamePlatformProperty>;
fn get_game_server(&self) -> &[GameServerProperty];
fn take_game_server(&mut self) -> Vec<GameServerProperty>;
fn get_game_tip(&self) -> &[GameTipProperty];
fn take_game_tip(&mut self) -> Vec<GameTipProperty>;
fn get_music_by(&self) -> &[MusicByProperty];
fn take_music_by(&mut self) -> Vec<MusicByProperty>;
fn get_play_mode(&self) -> &[PlayModeProperty];
fn take_play_mode(&mut self) -> Vec<PlayModeProperty>;
fn get_trailer(&self) -> &[TrailerProperty];
fn take_trailer(&mut self) -> Vec<TrailerProperty>;
}
Expand description
This trait is for properties from https://schema.org/VideoGame.
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_cheat_code(&self) -> &[CheatCodeProperty]
fn get_cheat_code(&self) -> &[CheatCodeProperty]
Get https://schema.org/cheatCode from Self
as borrowed slice.
sourcefn take_cheat_code(&mut self) -> Vec<CheatCodeProperty>
fn take_cheat_code(&mut self) -> Vec<CheatCodeProperty>
Take https://schema.org/cheatCode 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_game_edition(&self) -> &[GameEditionProperty]
fn get_game_edition(&self) -> &[GameEditionProperty]
Get https://schema.org/gameEdition from Self
as borrowed slice.
sourcefn take_game_edition(&mut self) -> Vec<GameEditionProperty>
fn take_game_edition(&mut self) -> Vec<GameEditionProperty>
Take https://schema.org/gameEdition from Self
as owned vector.
sourcefn get_game_platform(&self) -> &[GamePlatformProperty]
fn get_game_platform(&self) -> &[GamePlatformProperty]
Get https://schema.org/gamePlatform from Self
as borrowed slice.
sourcefn take_game_platform(&mut self) -> Vec<GamePlatformProperty>
fn take_game_platform(&mut self) -> Vec<GamePlatformProperty>
Take https://schema.org/gamePlatform from Self
as owned vector.
sourcefn get_game_server(&self) -> &[GameServerProperty]
fn get_game_server(&self) -> &[GameServerProperty]
Get https://schema.org/gameServer from Self
as borrowed slice.
sourcefn take_game_server(&mut self) -> Vec<GameServerProperty>
fn take_game_server(&mut self) -> Vec<GameServerProperty>
Take https://schema.org/gameServer from Self
as owned vector.
sourcefn get_game_tip(&self) -> &[GameTipProperty]
fn get_game_tip(&self) -> &[GameTipProperty]
Get https://schema.org/gameTip from Self
as borrowed slice.
sourcefn take_game_tip(&mut self) -> Vec<GameTipProperty>
fn take_game_tip(&mut self) -> Vec<GameTipProperty>
Take https://schema.org/gameTip 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_play_mode(&self) -> &[PlayModeProperty]
fn get_play_mode(&self) -> &[PlayModeProperty]
Get https://schema.org/playMode from Self
as borrowed slice.
sourcefn take_play_mode(&mut self) -> Vec<PlayModeProperty>
fn take_play_mode(&mut self) -> Vec<PlayModeProperty>
Take https://schema.org/playMode 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.