1 2 3 4 5 6 7 8 9 10
use serde::{Deserialize, Serialize}; use crate::{game::{Board, Level}, gameplay::Clock}; #[derive(Debug, Serialize, Deserialize)] pub struct Payload { pub board: Board, pub clock: Clock, pub level: Level, }