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 importactionable
as another name, this setting will replace all mentions ofactionable
with the identifier specified.