1 2 3 4 5 6 7 8 9 10 11 12 13
#[derive(Debug, Clone, PartialEq, Eq)] pub struct CommandHint { pub alias: String, pub action_name: String, } #[derive(Debug, Clone, PartialEq, Eq)] pub enum CommandResponse<A> { Execute(A), Incomplete(Vec<CommandHint>), Unknown, Empty, }