//! What the server hears over the network.
useyog_data::Schema;useyog_data::with::Raw;/// A packet a client sent on a mod's channel; keyed by the channel.
#[derive(Debug, Clone, Schema)]pubstructPacket{/// The channel (`mymod:sync`).
pubchannel: String,
/// The sender's name.
pubplayer: String,
/// The bytes as the mod wrote them.
#[data(with ="Raw")]pubpayload:Vec<u8>,
}