Struct pobsd_parser::game::Game
source · pub struct Game {Show 16 fields
pub name: String,
pub cover: Option<String>,
pub engine: Option<String>,
pub setup: Option<String>,
pub runtime: Option<String>,
pub stores: Option<Vec<String>>,
pub hints: Option<String>,
pub genres: Option<Vec<String>>,
pub tags: Option<Vec<String>>,
pub year: Option<String>,
pub dev: Option<String>,
pub publi: Option<String>,
pub version: Option<String>,
pub status: Option<String>,
pub added: Option<String>,
pub updated: Option<String>,
}Fields§
§name: StringThe name of the game.
cover: Option<String>The cover of the game.
engine: Option<String>The engine used by the game.
setup: Option<String>Step(s) to setup the game.
runtime: Option<String>The executable in the package.
stores: Option<Vec<String>>A vector with store urls.
hints: Option<String>Hints (as the name imply).
genres: Option<Vec<String>>A vector of genres associated with the game.
A vector of tags associated with the game.
year: Option<String>Released year (can be text such as “early access”.
dev: Option<String>Developer.
publi: Option<String>Publisher.
version: Option<String>Version of the game.
status: Option<String>When tested on -current.
added: Option<String>When added
updated: Option<String>When updated
Implementations§
Trait Implementations§
source§impl Display for Game
impl Display for Game
Display the game as it would appears in the database. See https://github.com/playonbsd/OpenBSD-Games-Database for details.
source§impl PartialEq<Game> for Game
impl PartialEq<Game> for Game
source§impl PartialOrd<Game> for Game
impl PartialOrd<Game> for Game
For now games are ordered by id. This will probably be dropped in the future in favor of alphabetical ordering on the name.