pub trait GameTrait {
    // Required methods
    fn get_character_attribute(&self) -> &[CharacterAttributeProperty];
    fn take_character_attribute(&mut self) -> Vec<CharacterAttributeProperty>;
    fn get_game_item(&self) -> &[GameItemProperty];
    fn take_game_item(&mut self) -> Vec<GameItemProperty>;
    fn get_game_location(&self) -> &[GameLocationProperty];
    fn take_game_location(&mut self) -> Vec<GameLocationProperty>;
    fn get_number_of_players(&self) -> &[NumberOfPlayersProperty];
    fn take_number_of_players(&mut self) -> Vec<NumberOfPlayersProperty>;
    fn get_quest(&self) -> &[QuestProperty];
    fn take_quest(&mut self) -> Vec<QuestProperty>;
}
Expand description

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

Required Methods§

Implementors§