pub trait AuthoritiesCheck<T: Eq + Hash> {
    // Required methods
    fn has_authority(&self, authority: T) -> bool;
    fn has_authorities(&self, authorities: &[T]) -> bool;
    fn has_any_authority(&self, authorities: &[T]) -> bool;
}

Required Methods§

source

fn has_authority(&self, authority: T) -> bool

source

fn has_authorities(&self, authorities: &[T]) -> bool

source

fn has_any_authority(&self, authorities: &[T]) -> bool

Implementors§