pub struct LeaderboardRow {
pub user_id: i64,
pub scores: Vec<i32>,
pub total_score: i64,
}Expand description
Leaderboard single row
Fields§
§user_id: i64User id
scores: Vec<i32>Max scores for each problem
total_score: i64Total score
Trait Implementations§
Source§impl Clone for LeaderboardRow
impl Clone for LeaderboardRow
Source§fn clone(&self) -> LeaderboardRow
fn clone(&self) -> LeaderboardRow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LeaderboardRow
impl Debug for LeaderboardRow
Source§impl<'de> Deserialize<'de> for LeaderboardRow
impl<'de> Deserialize<'de> for LeaderboardRow
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
Auto Trait Implementations§
impl Freeze for LeaderboardRow
impl RefUnwindSafe for LeaderboardRow
impl Send for LeaderboardRow
impl Sync for LeaderboardRow
impl Unpin for LeaderboardRow
impl UnsafeUnpin for LeaderboardRow
impl UnwindSafe for LeaderboardRow
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