Skip to main content

ActionMeta

Type Alias ActionMeta 

Source
pub type ActionMeta = CommandMeta;
Expand description

Action metadata (v1).

v1 strategy (ADR 0307): action metadata is the existing command metadata surface.

Aliased Type§

pub struct ActionMeta {
    pub title: Arc<str>,
    pub description: Option<Arc<str>>,
    pub category: Option<Arc<str>>,
    pub keywords: Vec<Arc<str>>,
    pub default_keybindings: Vec<DefaultKeybinding>,
    pub when: Option<WhenExpr>,
    pub os_action: Option<OsAction>,
    pub scope: CommandScope,
    pub hidden: bool,
    pub repeatable: bool,
}

Fields§

§title: Arc<str>§description: Option<Arc<str>>§category: Option<Arc<str>>§keywords: Vec<Arc<str>>§default_keybindings: Vec<DefaultKeybinding>§when: Option<WhenExpr>§os_action: Option<OsAction>§scope: CommandScope§hidden: bool§repeatable: bool