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

Class LeaveRoomCommand

comms/src/command.rs:13–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11/// User Command for leaving a room.
12#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
13pub struct LeaveRoomCommand {
14 // The room to leave.
15 #[serde(rename = "r")]
16 pub room: String,
17}
18
19/// User Command for sending a message.
20#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected