Struct rosu_v2::model::matches::MatchScore
source · pub struct MatchScore {
pub accuracy: f32,
pub max_combo: u32,
pub mods: GameMods,
pub pass: bool,
pub perfect: bool,
pub score: u32,
pub slot: u8,
pub statistics: ScoreStatistics,
pub team: Team,
pub user_id: u32,
}
Fields§
§accuracy: f32
Accuracy between 0.0
and 100.0
max_combo: u32
§mods: GameMods
§pass: bool
§perfect: bool
§score: u32
§slot: u8
§statistics: ScoreStatistics
§team: Team
§user_id: u32
Trait Implementations§
source§impl Clone for MatchScore
impl Clone for MatchScore
source§fn clone(&self) -> MatchScore
fn clone(&self) -> MatchScore
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 MatchScore
impl Debug for MatchScore
source§impl<'de> Deserialize<'de> for MatchScore
impl<'de> Deserialize<'de> for MatchScore
source§fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(d: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq<MatchScore> for MatchScore
impl PartialEq<MatchScore> for MatchScore
source§fn eq(&self, other: &MatchScore) -> bool
fn eq(&self, other: &MatchScore) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MatchScore
Auto Trait Implementations§
impl RefUnwindSafe for MatchScore
impl Send for MatchScore
impl Sync for MatchScore
impl Unpin for MatchScore
impl UnwindSafe for MatchScore
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