Skip to main content

UserGroup

Trait UserGroup 

Source
pub trait UserGroup {
    // Required method
    fn is_match(&self, req: &SgRequest) -> bool;
}

Required Methods§

Source

fn is_match(&self, req: &SgRequest) -> bool

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl UserGroup for All

Source§

impl UserGroup for Any

Source§

impl<A, B> UserGroup for And<A, B>
where A: UserGroup, B: UserGroup,

Source§

impl<A, B> UserGroup for Or<A, B>
where A: UserGroup, B: UserGroup,

Source§

impl<A: UserGroup> UserGroup for Not<A>