use axum::Json; use serde::{Deserialize, Serialize}; #[derive(Serialize, Deserialize, Debug)] pub struct MatchParams { // Just bot ids for now players: Vec, } pub async fn play_match(params: Json) { println!("start match: {:#?}", params); }