blob: c71d8432784998d54d65d2ced1810317ca800ea1 (
plain) (
tree)
|
|
// in commandmessage
// pub struct Publish {
// item: Item,
// node: Option<String>,
// // no need for node, as item has the node
// }
//
// in updatemessage
// pub struct Event {
// from: JID,
// item: Item,
// }
#[derive(Clone, Debug)]
pub enum Item {
Nick(String),
}
|