Turn messages into stub SubscribeMessage struct

This commit is contained in:
Lucien Greathouse
2019-09-23 10:53:11 -07:00
parent a46d467b75
commit bd33aebc3d
5 changed files with 28 additions and 12 deletions

View File

@@ -17,7 +17,8 @@ pub(crate) const SERVER_VERSION: &str = env!("CARGO_PKG_VERSION");
pub const PROTOCOL_VERSION: u64 = 3;
// TODO
pub type SubscribeMessage = ();
#[derive(Debug, Serialize, Deserialize)]
pub struct SubscribeMessage;
#[derive(Debug, Serialize, Deserialize)]
#[serde(rename_all = "camelCase")]