diff --git a/src/structs.rs b/src/structs.rs index 44f8ec7..20d5e74 100644 --- a/src/structs.rs +++ b/src/structs.rs @@ -117,7 +117,7 @@ pub struct GameStarting { pub struct HeartBeatResponse { #[serde(rename="type")] pub type_: String, - pub receivingPlayerId: Option + pub receivingPlayerId: String } #[derive(Serialize, Deserialize, Debug, PartialEq)] @@ -138,7 +138,6 @@ pub struct TournamentEnded { pub gameResult: String, pub tournamentName: String, pub tournamentId: String, - pub gameTick: Option } #[derive(Serialize, Deserialize, Debug)] @@ -150,8 +149,7 @@ pub struct Map { pub worldTick: u32, pub snakeInfos: Vec, pub foodPositions: Vec, - pub obstaclePositions: Vec, - pub receivingPlayerId: Option, + pub obstaclePositions: Vec } #[derive(Serialize, Deserialize, Debug, PartialEq)]