Skip to main content

VerbDef

Type Alias VerbDef 

Source
pub type VerbDef = HandlerDef;
👎Deprecated since 0.2.0:

Use HandlerDef instead (ADR-023)

Expand description

Backward-compatible type alias. Existing code that names VerbDef still compiles; new code should use HandlerDef directly (ADR-023).

Aliased Type§

pub struct VerbDef {
    pub name: &'static str,
    pub description: &'static str,
    pub visibility: Visibility,
    pub category: VerbCategory,
}

Fields§

§name: &'static str§description: &'static str§visibility: Visibility§category: VerbCategory

Illocutionary force classification (ADR-025). Use Assertive for Subhandler entries that have no external callers.