MCPcopy Create free account
hub / github.com/Yengas/rust-chat-server / JoinRoomCommand

Class JoinRoomCommand

comms/src/command.rs:5–9  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3/// User Command for joining a room.
4#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
5pub 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)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected