work (new network + db initial working state)
This commit is contained in:
@@ -17,6 +17,8 @@ pub enum ServerMsgInst {
|
||||
ServerErrorV0(ServerErrorV0) = 3,
|
||||
}
|
||||
|
||||
pub type UserIdV0 = u64;
|
||||
|
||||
#[derive(Debug, bitcode::Encode, bitcode::Decode)]
|
||||
pub struct CreateAccountV0 {
|
||||
pub username: String,
|
||||
@@ -56,7 +58,7 @@ pub struct SendMsgV0 {
|
||||
#[derive(Debug, Clone, bitcode::Encode, bitcode::Decode)]
|
||||
pub struct LoadMsgV0 {
|
||||
pub content: String,
|
||||
pub user: String,
|
||||
pub author: UserIdV0,
|
||||
}
|
||||
|
||||
#[derive(Debug, bitcode::Encode, bitcode::Decode)]
|
||||
|
||||
Reference in New Issue
Block a user