| 3 | /// User Command for joining a room. |
| 4 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] |
| 5 | pub struct JoinRoomCommand { |
| 6 | // The room to join. |
| 7 | #[serde(rename = "r")] |
| 8 | pub room: String, |
| 9 | } |
| 10 | |
| 11 | /// User Command for leaving a room. |
| 12 | #[derive(Debug, Clone, PartialEq, Serialize, Deserialize)] |
nothing calls this directly
no outgoing calls
no test coverage detected