pub trait PermissionsCheck<T: PartialEq> {
// Required methods
fn has_permission(&self, permission: T) -> bool;
fn has_permissions(&self, permissions: &[T]) -> bool;
fn has_any_permission(&self, permissions: &[T]) -> bool;
}
pub trait PermissionsCheck<T: PartialEq> {
// Required methods
fn has_permission(&self, permission: T) -> bool;
fn has_permissions(&self, permissions: &[T]) -> bool;
fn has_any_permission(&self, permissions: &[T]) -> bool;
}