use serde::{Serialize, Deserialize};
use std::net::{SocketAddr};
#[derive(Serialize, Deserialize)]
pub enum Message {
RegisterParticipant(String, SocketAddr),
UnregisterParticipant(String),
ParticipantList(Vec<(String, SocketAddr)>),
ParticipantNotificationAdded(String, SocketAddr),
ParticipantNotificationRemoved(String),
Greetings(String, String), }