add struct

This commit is contained in:
P0lunin 2019-09-03 20:47:21 +03:00
parent 28b1ef45b2
commit 1852b8f5a1

View file

@ -0,0 +1,10 @@
use serde::Deserialize;
use crate::core::types::user::User;
#[derive(Debug, Deserialize)]
struct GameHighScore {
position: i32,
user: User,
score: i32,
}