Derive Macro bonsaidb_core::permissions::Action

#[derive(Action)]
{
    // Attributes available to this derive:
    #[action]
}
Expand description

Derives the actionable::Action trait.

This trait can be customizd using the action attribute in these ways:

  • Crate name override: #[action(actionable = "someothername")]. If you find yourself needing to import actionable as another name, this setting will replace all mentions of actionable with the identifier specified.