Struct rosu_v2::model::beatmap::BeatmapCompact
source · pub struct BeatmapCompact {
pub checksum: Option<String>,
pub creator_id: u32,
pub fail_times: Option<FailTimes>,
pub map_id: u32,
pub mapset: Option<BeatmapsetCompact>,
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<BeatmapsetCompact>
§max_combo: Option<u32>
§mode: GameMode
§seconds_total: u32
§stars: f32
§status: RankStatus
§version: String
Implementations§
source§impl BeatmapCompact
impl BeatmapCompact
sourcepub fn difficulty_attributes<'o>(
&self,
osu: &'o Osu
) -> GetBeatmapDifficultyAttributes<'o> ⓘ
pub fn difficulty_attributes<'o>( &self, osu: &'o Osu ) -> GetBeatmapDifficultyAttributes<'o> ⓘ
Request the BeatmapDifficultyAttributes
for this map.
Trait Implementations§
source§impl Clone for BeatmapCompact
impl Clone for BeatmapCompact
source§fn clone(&self) -> BeatmapCompact
fn clone(&self) -> BeatmapCompact
Returns a copy 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 BeatmapCompact
impl Debug for BeatmapCompact
source§impl<'de> Deserialize<'de> for BeatmapCompact
impl<'de> Deserialize<'de> for BeatmapCompact
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<Beatmap> for BeatmapCompact
impl From<Beatmap> for BeatmapCompact
source§impl PartialEq<BeatmapCompact> for BeatmapCompact
impl PartialEq<BeatmapCompact> for BeatmapCompact
source§fn eq(&self, other: &BeatmapCompact) -> bool
fn eq(&self, other: &BeatmapCompact) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BeatmapCompact
Auto Trait Implementations§
impl RefUnwindSafe for BeatmapCompact
impl Send for BeatmapCompact
impl Sync for BeatmapCompact
impl Unpin for BeatmapCompact
impl UnwindSafe for BeatmapCompact
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