[][src]Struct osu_db::listing::Beatmap

pub struct Beatmap {
    pub artist_ascii: Option<String>,
    pub artist_unicode: Option<String>,
    pub title_ascii: Option<String>,
    pub title_unicode: Option<String>,
    pub creator: Option<String>,
    pub difficulty_name: Option<String>,
    pub audio: Option<String>,
    pub hash: Option<String>,
    pub file_name: Option<String>,
    pub status: RankedStatus,
    pub hitcircle_count: u16,
    pub slider_count: u16,
    pub spinner_count: u16,
    pub last_modified: DateTime<Utc>,
    pub approach_rate: f32,
    pub circle_size: f32,
    pub hp_drain: f32,
    pub overall_difficulty: f32,
    pub slider_velocity: f64,
    pub std_ratings: StarRatings,
    pub taiko_ratings: StarRatings,
    pub ctb_ratings: StarRatings,
    pub mania_ratings: StarRatings,
    pub drain_time: u32,
    pub total_time: u32,
    pub preview_time: u32,
    pub timing_points: Vec<TimingPoint>,
    pub beatmap_id: i32,
    pub beatmapset_id: i32,
    pub thread_id: u32,
    pub std_grade: Grade,
    pub taiko_grade: Grade,
    pub ctb_grade: Grade,
    pub mania_grade: Grade,
    pub local_beatmap_offset: u16,
    pub stack_leniency: f32,
    pub mode: Mode,
    pub song_source: Option<String>,
    pub tags: Option<String>,
    pub online_offset: u16,
    pub title_font: Option<String>,
    pub last_played: Option<DateTime<Utc>>,
    pub is_osz2: bool,
    pub folder_name: Option<String>,
    pub last_online_check: DateTime<Utc>,
    pub ignore_sounds: bool,
    pub ignore_skin: bool,
    pub disable_storyboard: bool,
    pub disable_video: bool,
    pub visual_override: bool,
    pub mysterious_short: Option<u16>,
    pub mysterious_last_modified: u32,
    pub mania_scroll_speed: u8,
}

Fields

artist_ascii: Option<String>

The name of the artist without special characters.

artist_unicode: Option<String>

The unrestrained artist name.

title_ascii: Option<String>

The song title without special characters.

title_unicode: Option<String>

The unrestrained song title.

creator: Option<String>

The name of the beatmap mapper.

difficulty_name: Option<String>

The name of this specific difficulty.

audio: Option<String>

The filename of the song file.

hash: Option<String>

The MD5 hash of the beatmap.

file_name: Option<String>

The filename of the .osu file corresponding to this specific difficulty.

status: RankedStatushitcircle_count: u16slider_count: u16spinner_count: u16last_modified: DateTime<Utc>approach_rate: f32circle_size: f32hp_drain: f32overall_difficulty: f32slider_velocity: f64std_ratings: StarRatingstaiko_ratings: StarRatingsctb_ratings: StarRatingsmania_ratings: StarRatingsdrain_time: u32

Drain time in seconds.

total_time: u32

Total beatmap time in milliseconds.

preview_time: u32

When should the song start playing when previewed, in milliseconds since the start of the song.

timing_points: Vec<TimingPoint>beatmap_id: i32beatmapset_id: i32thread_id: u32std_grade: Gradetaiko_grade: Gradectb_grade: Grademania_grade: Gradelocal_beatmap_offset: u16stack_leniency: f32mode: Modesong_source: Option<String>

Where did the song come from, if anywhere.

tags: Option<String>

Song tags, separated by whitespace.

online_offset: u16title_font: Option<String>last_played: Option<DateTime<Utc>>

Whether the beatmap has been played, and if it has, when was it last played.

is_osz2: bool

Whether the beatmap was in osz2 format.

folder_name: Option<String>

The folder name of the beatmapset within the "Songs" folder.

last_online_check: DateTime<Utc>

When was the beatmap last checked against the online osu! repository.

ignore_sounds: boolignore_skin: booldisable_storyboard: booldisable_video: boolvisual_override: boolmysterious_short: Option<u16>

Quoting the wiki: "Unknown. Only present if version is less than 20140609".

mysterious_last_modified: u32

Who knows.

Perhaps an early attempt at "last modified", but scrapped once peppy noticed it only had 32 bits.

mania_scroll_speed: u8

Trait Implementations

impl Clone for Beatmap[src]

impl Debug for Beatmap[src]

impl PartialEq<Beatmap> for Beatmap[src]

impl StructuralPartialEq for Beatmap[src]

Auto Trait Implementations

impl RefUnwindSafe for Beatmap

impl Send for Beatmap

impl Sync for Beatmap

impl Unpin for Beatmap

impl UnwindSafe for Beatmap

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.