#[derive(Debug, Clone, Default, PartialEq, Eq)]
pub struct AppCommands {
pub handles: Vec<(String, bool)>,
pub commands: Vec<AppCommand>,
pub recents: Vec<AppRecent>,
}
#[derive(Debug, Clone, Default, PartialEq, Eq)]
pub struct AppCommand {
pub id: String,
pub name: String,
pub keys: String,
pub section: String,
pub icon: String,
pub menu: bool,
pub stateful: bool,
pub bound: bool,
pub quick_setting: bool,
pub enabled: bool,
pub active: bool,
}
#[derive(Debug, Clone, Default, PartialEq, Eq)]
pub struct AppRecent {
pub id: String,
pub label: String,
pub sublabel: String,
pub timestamp_ms: u64,
}
#[derive(Debug, Clone, PartialEq, Eq, Hash)]
pub enum AppCommandRequest {
Invoke(String),
OpenRecent(String),
}