Struct rosu_v2::model::user::GradeCounts
source · pub struct GradeCounts {
pub ss: i32,
pub ssh: i32,
pub s: i32,
pub sh: i32,
pub a: i32,
}
Expand description
Counts of grades of a User
.
Fields§
§ss: i32
Number of SS ranked scores
ssh: i32
Number of Silver SS ranked scores
s: i32
Number of S ranked scores
sh: i32
Number of Silver S ranked scores
a: i32
Number of A ranked scores
Trait Implementations§
source§impl Clone for GradeCounts
impl Clone for GradeCounts
source§fn clone(&self) -> GradeCounts
fn clone(&self) -> GradeCounts
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 GradeCounts
impl Debug for GradeCounts
source§impl<'de> Deserialize<'de> for GradeCounts
impl<'de> Deserialize<'de> for GradeCounts
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<GradeCounts> for GradeCounts
impl PartialEq<GradeCounts> for GradeCounts
source§fn eq(&self, other: &GradeCounts) -> bool
fn eq(&self, other: &GradeCounts) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for GradeCounts
impl StructuralEq for GradeCounts
impl StructuralPartialEq for GradeCounts
Auto Trait Implementations§
impl RefUnwindSafe for GradeCounts
impl Send for GradeCounts
impl Sync for GradeCounts
impl Unpin for GradeCounts
impl UnwindSafe for GradeCounts
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.