Struct authz::authz::Permission
[−]
[src]
pub struct Permission { /* fields omitted */ }
Methods
impl<'a> Permission
[src]
fn new(wildcard_perm: &str) -> Permission
fn implies_from_str(&self, wildcard_permission: &str) -> bool
fn implies_from_perm(&self, permission: &Permission) -> bool
Trait Implementations
impl Debug for Permission
[src]
impl PartialEq for Permission
[src]
fn eq(&self, __arg_0: &Permission) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Permission) -> bool
This method tests for !=
.