mirror of
https://github.com/teloxide/teloxide.git
synced 2024-12-22 14:35:36 +01:00
add struct
This commit is contained in:
parent
28b1ef45b2
commit
1852b8f5a1
1 changed files with 10 additions and 0 deletions
10
src/core/types/game_high_score.rs
Normal file
10
src/core/types/game_high_score.rs
Normal 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,
|
||||
}
|
Loading…
Reference in a new issue