Trait HasRole

Source
pub trait HasRole<R, P>
where R: Debug + Copy + Clone, P: Debug + Copy + Clone,
{ // Required methods fn has_role(&self, r: &R, p: &P) -> bool; fn has_role_object(&self, role: &Role<R, P>) -> bool; }

Required Methods§

Source

fn has_role(&self, r: &R, p: &P) -> bool

Source

fn has_role_object(&self, role: &Role<R, P>) -> bool

Implementors§