pub struct BeatmapExtended {Show 28 fields
pub ar: f32,
pub bpm: f32,
pub checksum: Option<String>,
pub convert: bool,
pub count_circles: u32,
pub count_sliders: u32,
pub count_spinners: u32,
pub creator_id: u32,
pub cs: f32,
pub deleted_at: Option<OffsetDateTime>,
pub fail_times: Option<FailTimes>,
pub hp: f32,
pub is_scoreable: bool,
pub last_updated: OffsetDateTime,
pub map_id: u32,
pub mapset: Option<Box<BeatmapsetExtended>>,
pub mapset_id: u32,
pub max_combo: Option<u32>,
pub mode: GameMode,
pub od: f32,
pub passcount: u32,
pub playcount: u32,
pub seconds_drain: u32,
pub seconds_total: u32,
pub stars: f32,
pub status: RankStatus,
pub url: String,
pub version: String,
}Fields§
§ar: f32§bpm: f32§checksum: Option<String>§convert: bool§count_circles: u32§count_sliders: u32§count_spinners: u32§creator_id: u32§cs: f32§deleted_at: Option<OffsetDateTime>§fail_times: Option<FailTimes>§hp: f32§is_scoreable: bool§last_updated: OffsetDateTime§map_id: u32§mapset: Option<Box<BeatmapsetExtended>>§mapset_id: u32§max_combo: Option<u32>§mode: GameMode§od: f32§passcount: u32§playcount: u32§seconds_drain: u32§seconds_total: u32§stars: f32§status: RankStatus§url: StringFull URL, i.e. https://osu.ppy.sh/beatmaps/{map_id}
version: StringImplementations§
Source§impl BeatmapExtended
impl BeatmapExtended
Sourcepub const fn count_objects(&self) -> u32
pub const fn count_objects(&self) -> u32
Return the amount of hit objects in this map.
Sourcepub const fn difficulty_attributes<'o>(
&self,
osu: &'o Osu,
) -> GetBeatmapDifficultyAttributes<'o>
pub const fn difficulty_attributes<'o>( &self, osu: &'o Osu, ) -> GetBeatmapDifficultyAttributes<'o>
Request the BeatmapDifficultyAttributes for this map.
Trait Implementations§
Source§impl Clone for BeatmapExtended
impl Clone for BeatmapExtended
Source§fn clone(&self) -> BeatmapExtended
fn clone(&self) -> BeatmapExtended
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BeatmapExtended
impl Debug for BeatmapExtended
Source§impl<'de> Deserialize<'de> for BeatmapExtended
impl<'de> Deserialize<'de> for BeatmapExtended
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<BeatmapExtended> for Beatmap
impl From<BeatmapExtended> for Beatmap
Source§fn from(map: BeatmapExtended) -> Self
fn from(map: BeatmapExtended) -> Self
Converts to this type from the input type.
Source§impl PartialEq for BeatmapExtended
impl PartialEq for BeatmapExtended
Source§impl Serialize for BeatmapExtended
impl Serialize for BeatmapExtended
impl Eq for BeatmapExtended
Auto Trait Implementations§
impl Freeze for BeatmapExtended
impl RefUnwindSafe for BeatmapExtended
impl Send for BeatmapExtended
impl Sync for BeatmapExtended
impl Unpin for BeatmapExtended
impl UnwindSafe for BeatmapExtended
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.