Documentation
1
2
3
4
5
6
7
8
9
10
11
12
//! Command registration via inventory.

/// Registration for type generation (separate from handler registration).
#[derive(Debug)]
pub struct CommandRegistration {
    pub command_id: &'static str,
    pub result_type: &'static str,
    pub result_type_crate: &'static str,
    pub crate_name: &'static str,
}

inventory::collect!(CommandRegistration);