pub trait GameServerTrait {
    // Required methods
    fn get_game(&self) -> &[GameProperty];
    fn take_game(&mut self) -> Vec<GameProperty>;
    fn get_players_online(&self) -> &[PlayersOnlineProperty];
    fn take_players_online(&mut self) -> Vec<PlayersOnlineProperty>;
    fn get_server_status(&self) -> &[ServerStatusProperty];
    fn take_server_status(&mut self) -> Vec<ServerStatusProperty>;
}
Expand description

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

Required Methods§

Implementors§