Trait bonsaidb::core::permissions::Action
pub trait Action: Send + Sync {
// Required method
fn name(&self) -> ActionName;
}
Expand description
An action that can be allowed or disallowed.
Required Methods§
fn name(&self) -> ActionName
fn name(&self) -> ActionName
The full name of this action.