//! Mods' commands run.
useyog_data::Schema;/// A mod's command run; keyed by its name. Its handlers (subcommands of
/// different shapes) are tried in order — the first to answer sets `reply`,
/// what the source is told.
#[derive(Debug, Clone, Schema)]pubstructRun{/// The command, without the slash.
pubname: String,
/// Its arguments: a typed command's values in order, a plain one's words.
pubargs:Vec<String>,
/// Who ran it: a player's name, or the console.
pubsource: String,
/// The running entity's uuid; empty for the console.
pubuuid: String,
/// Where it ran; empty for the console.
pubdimension: String,
pubreply:Option<String>,
/// Its permission level, as the game has it (0 anyone … 4 the
/// server's owners; the console all of them). Appended, as a frame's
/// fields only ever are.
pubpermission:i32,
/// Whether it's an operator: the level the game's operators' commands
/// want, by the game's own measure.
pubop:bool,
}