diff options
| author | Eskil Queseth <eskilq@kth.se> | 2020-10-17 21:28:40 +0200 |
|---|---|---|
| committer | Eskil Queseth <eskilq@kth.se> | 2020-10-17 21:28:40 +0200 |
| commit | ccc5f76133460d055a5d90ae9cd0a7bc2a83551d (patch) | |
| tree | 43d27a68fe15ef5f28bd08161bd03d1a39a00186 /mumlib/src/command.rs | |
| parent | 7675171e2c307c91a81b0daee915c2a114ae4612 (diff) | |
| parent | f1df606dfeafbfe93066d23f378d7fdbd1b4e9e1 (diff) | |
| download | mum-ccc5f76133460d055a5d90ae9cd0a7bc2a83551d.tar.gz | |
Merge remote-tracking branch 'origin/pretty-print' into main
Diffstat (limited to 'mumlib/src/command.rs')
| -rw-r--r-- | mumlib/src/command.rs | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/mumlib/src/command.rs b/mumlib/src/command.rs index b27d3ca..b4ab07a 100644 --- a/mumlib/src/command.rs +++ b/mumlib/src/command.rs @@ -1,7 +1,6 @@ use crate::state::{Channel, Server}; use serde::{Deserialize, Serialize}; -use std::collections::HashMap; #[derive(Clone, Debug, Deserialize, Serialize)] pub enum Command { @@ -22,11 +21,6 @@ pub enum Command { #[derive(Debug, Deserialize, Serialize)] pub enum CommandResponse { - ChannelList { - channels: HashMap<u32, Channel>, - }, - Status { - username: Option<String>, - server_state: Server, - }, + ChannelList { channels: Channel }, + Status { server_state: Server }, } |
