feat: basic messaging implementation

This commit is contained in:
user0-07161 2025-10-02 19:55:12 +02:00
parent ad75f01112
commit 2ae02b4a22
13 changed files with 565 additions and 70 deletions

9
src/messages.rs Normal file
View 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,
}