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; }