pub struct BeatmapUserScore {
pub pos: usize,
pub score: Score,
}Fields§
§pos: usizeThe position of the score within the requested beatmap ranking
score: ScoreThe details of the score
Implementations§
Source§impl BeatmapUserScore
impl BeatmapUserScore
Sourcepub fn get_user<'o>(&self, osu: &'o Osu) -> GetUser<'o>
pub fn get_user<'o>(&self, osu: &'o Osu) -> GetUser<'o>
Request the UserExtended of the score
Trait Implementations§
Source§impl Clone for BeatmapUserScore
impl Clone for BeatmapUserScore
Source§fn clone(&self) -> BeatmapUserScore
fn clone(&self) -> BeatmapUserScore
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 BeatmapUserScore
impl Debug for BeatmapUserScore
Source§impl<'de> Deserialize<'de> for BeatmapUserScore
impl<'de> Deserialize<'de> for BeatmapUserScore
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 PartialEq for BeatmapUserScore
impl PartialEq for BeatmapUserScore
Source§impl Serialize for BeatmapUserScore
impl Serialize for BeatmapUserScore
impl Eq for BeatmapUserScore
impl StructuralPartialEq for BeatmapUserScore
Auto Trait Implementations§
impl Freeze for BeatmapUserScore
impl RefUnwindSafe for BeatmapUserScore
impl Send for BeatmapUserScore
impl Sync for BeatmapUserScore
impl Unpin for BeatmapUserScore
impl UnwindSafe for BeatmapUserScore
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.