How to define Rust enums with associated data in your candid file: ... #[derive(Clone, Debug, CandidType, Deserialize)] enum GameState { New ...
確定! 回上一頁