feat: basic messaging implementation
This commit is contained in:
parent
ad75f01112
commit
2ae02b4a22
13 changed files with 565 additions and 70 deletions
9
src/messages.rs
Normal file
9
src/messages.rs
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
use crate::user::UserUnwrapped;
|
||||
|
||||
#[allow(dead_code)]
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Message {
|
||||
pub sender: UserUnwrapped,
|
||||
pub receiver: String,
|
||||
pub text: String,
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue