Trait actix_web_grants::permissions::RolesCheck
source · pub trait RolesCheck<T> {
// Required methods
fn has_role(&self, permission: T) -> bool;
fn has_roles(&self, permissions: &[T]) -> bool;
fn has_any_role(&self, permissions: &[T]) -> bool;
}