use ;
/// Any type that should be sent over the wire has to implement [`NetworkMessage`].
///
/// ## Example
/// ```rust
/// use bevy_eventwork::NetworkMessage;
/// use serde::{Serialize, Deserialize};
///
/// #[derive(Serialize, Deserialize)]
/// struct PlayerInformation {
/// health: usize,
/// position: (u32, u32, u32)
/// }
///
/// impl NetworkMessage for PlayerInformation {
/// const NAME: &'static str = "PlayerInfo";
/// }
/// ```
///
/// Marks a type as an eventwork message