pub struct GetBeatmapUserScore<'a> { /* private fields */ }Expand description
Get BeatmapUserScore of a user on a beatmap.
Implementations§
Source§impl<'a> GetBeatmapUserScore<'a>
impl<'a> GetBeatmapUserScore<'a>
Sourcepub fn mods<M>(self, mods: M) -> Selfwhere
GameModsIntermode: From<M>,
pub fn mods<M>(self, mods: M) -> Selfwhere
GameModsIntermode: From<M>,
Specify the mods
Sourcepub const fn legacy_only(self, legacy_only: bool) -> Self
pub const fn legacy_only(self, legacy_only: bool) -> Self
Whether or not to exclude lazer scores.
Sourcepub const fn legacy_scores(self, legacy_scores: bool) -> Self
pub const fn legacy_scores(self, legacy_scores: bool) -> Self
Specify whether the score should contain legacy data or not.
Legacy data consists of a different grade calculation, less populated statistics, legacy mods, and a different score kind.
Trait Implementations§
Source§impl IntoFuture for GetBeatmapUserScore<'_>
impl IntoFuture for GetBeatmapUserScore<'_>
Source§type Output = Result<BeatmapUserScore, OsuError>
type Output = Result<BeatmapUserScore, OsuError>
The output that the future will produce on completion.
Source§type IntoFuture = OsuFuture<GetBeatmapUserScore<'_>>
type IntoFuture = OsuFuture<GetBeatmapUserScore<'_>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl<'a> Freeze for GetBeatmapUserScore<'a>
impl<'a> !RefUnwindSafe for GetBeatmapUserScore<'a>
impl<'a> Send for GetBeatmapUserScore<'a>
impl<'a> Sync for GetBeatmapUserScore<'a>
impl<'a> Unpin for GetBeatmapUserScore<'a>
impl<'a> !UnwindSafe for GetBeatmapUserScore<'a>
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