Trait RolesCheck
actix_web_grants::authorities
pub trait RolesCheck { pub fn has_role(&self, authority: &str) -> bool; pub fn has_roles(&self, authorities: Vec<&str>) -> bool; pub fn has_any_role(&self, authorities: Vec<&str>) -> bool; }
pub fn has_role(&self, authority: &str) -> bool
pub fn has_roles(&self, authorities: Vec<&str>) -> bool
pub fn has_any_role(&self, authorities: Vec<&str>) -> bool
impl RolesCheck for AuthDetails