privmsg.rs 270 B

1234567891011
  1. use darkfi::util::serial::{SerialDecodable, SerialEncodable};
  2. pub type PrivmsgId = u32;
  3. #[derive(Debug, Clone, SerialEncodable, SerialDecodable)]
  4. pub struct Privmsg {
  5. pub id: PrivmsgId,
  6. pub nickname: String,
  7. pub channel: String,
  8. pub message: String,
  9. }