1 2 3 4 5 6 7 8
use types::Player; #[derive(Clone, Debug)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] pub struct ChatPublic { pub id: Player, pub text: String, }
1 2 3 4 5 6 7 8
use types::Player; #[derive(Clone, Debug)] #[cfg_attr(feature = "serde", derive(Serialize, Deserialize))] pub struct ChatPublic { pub id: Player, pub text: String, }