Skip to main content

tui_pages/command/
response.rs

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