mirror of
https://github.com/darkrenaissance/darkfi.git
synced 2026-04-28 03:00:18 -04:00
12 lines
270 B
Rust
12 lines
270 B
Rust
use darkfi::util::serial::{SerialDecodable, SerialEncodable};
|
|
|
|
pub type PrivmsgId = u32;
|
|
|
|
#[derive(Debug, Clone, SerialEncodable, SerialDecodable)]
|
|
pub struct Privmsg {
|
|
pub id: PrivmsgId,
|
|
pub nickname: String,
|
|
pub channel: String,
|
|
pub message: String,
|
|
}
|