pub struct Beatmap {
pub checksum: Option<String>,
pub creator_id: u32,
pub fail_times: Option<FailTimes>,
pub map_id: u32,
pub mapset: Option<Box<Beatmapset>>,
pub mapset_id: u32,
pub max_combo: Option<u32>,
pub mode: GameMode,
pub seconds_total: u32,
pub stars: f32,
pub status: RankStatus,
pub version: String,
}Fields§
§checksum: Option<String>§creator_id: u32§fail_times: Option<FailTimes>§map_id: u32§mapset: Option<Box<Beatmapset>>§mapset_id: u32§max_combo: Option<u32>§mode: GameMode§seconds_total: u32§stars: f32§status: RankStatus§version: StringImplementations§
Source§impl Beatmap
impl Beatmap
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<'de> Deserialize<'de> for Beatmap
impl<'de> Deserialize<'de> for Beatmap
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.
impl StructuralPartialEq for Beatmap
Auto Trait Implementations§
impl Freeze for Beatmap
impl RefUnwindSafe for Beatmap
impl Send for Beatmap
impl Sync for Beatmap
impl Unpin for Beatmap
impl UnwindSafe for Beatmap
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