Trait actix_web_grants::permissions::RolesCheck[][src]

pub trait RolesCheck {
    fn has_role(&self, permission: &str) -> bool;
fn has_roles(&self, permissions: Vec<&str>) -> bool;
fn has_any_role(&self, permissions: Vec<&str>) -> bool; }

Required methods

Implementors