Struct osu_db::listing::Listing [−][src]
pub struct Listing {
pub version: u32,
pub folder_count: u32,
pub unban_date: Option<DateTime<Utc>>,
pub player_name: Option<String>,
pub beatmaps: Vec<Beatmap>,
pub user_permissions: u32,
}
Expand description
A structure representing the osu!.db
binary database.
This database contains pre-processed data and settings for all available osu! beatmaps.
Fields
version: u32
The osu!.db
version number.
This is a decimal number in the form YYYYMMDD
(eg. 20150203
).
folder_count: u32
The amount of folders within the “Songs” directory. Probably for quick checking of changes within the directory.
unban_date: Option<DateTime<Utc>>
Whether the account is locked/banned, and when will be it be unbanned.
player_name: Option<String>
Self-explanatory.
beatmaps: Vec<Beatmap>
All stored beatmaps and the information stored about them. The main bulk of information.
user_permissions: u32
User permissions (0 = None, 1 = Normal, 2 = Moderator, 4 = Supporter, 8 = Friend, 16 = peppy, 32 = World Cup staff)
Implementations
Parse a listing from the osu!.db
database file.
Write the listing to an arbitrary writer.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Listing
impl UnwindSafe for Listing
Blanket Implementations
Mutably borrows from an owned value. Read more