[][src]Module rosu::model

Contains structs that are parsed from the osu!api

Structs

Beatmap

Beatmap struct retrieved from the /api/get_beatmaps endpoint.

Event

Event struct for events within the User struct.

GameMods

Enum for all game modifications. Implemented as bitflags.

GameScore

Each participating user of a MatchGame will produce a GameScore which contains the data about the user's play

Match

Match struct retrieved from the /api/get_match endpoint.

MatchGame

Each map that was not aborted during a Match will produce a MatchGame which contains the data of the game and all its scores

Score

Score struct retrieved from /api/get_scores, /api/get_user_best, and /api/get_user_recent endpoints.

User

User struct retrieved from the /api/get_user endpoint.

Enums

ApprovalStatus

Basic enum to describe a Beatmap's approval status

GameMode

Enum for the four game modes osu!standard, osu!taiko, Catch the beat, and osu!mania

Genre

Basic enum to describe a Beatmap's music genre

Grade

Enum for a Score's grade (sometimes called rank)

Language

Basic enum to describe a Beatmap's music language

ScoringType

Basic enum to describe the scoring type of a Match i.e. the winning condition

Team

Basic enum to declare a team of a Match

TeamType

Basic enum to describe the team type of a Match