diff options
Diffstat (limited to '')
-rw-r--r-- | src/model/player.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/model/player.rs b/src/model/player.rs index 1b94140..5cd126d 100644 --- a/src/model/player.rs +++ b/src/model/player.rs @@ -4,14 +4,14 @@ use compact_str::CompactString; use serde::Deserialize; use time::{Date, OffsetDateTime}; -use crate::model::VideoGame; +use crate::model::{team::CompactTeam, VideoGame}; #[derive(Debug, Clone, Eq, PartialEq, Hash, Deserialize)] pub struct Player { #[serde(flatten)] pub inner: CompactPlayer, - // pub current_team: todo + pub current_team: Option<CompactTeam>, #[serde(rename = "current_videogame")] pub current_video_game: Option<VideoGame>, } |