pub enum AuthorizationModel {
Rbac,
Abac,
Rebac,
Acl,
Capability,
PolicyBased,
Custom,
}Expand description
Authorization model labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AuthorizationModel
impl Clone for AuthorizationModel
Source§fn clone(&self) -> AuthorizationModel
fn clone(&self) -> AuthorizationModel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AuthorizationModel
impl Debug for AuthorizationModel
Source§impl Display for AuthorizationModel
impl Display for AuthorizationModel
Source§impl FromStr for AuthorizationModel
impl FromStr for AuthorizationModel
Source§impl Hash for AuthorizationModel
impl Hash for AuthorizationModel
Source§impl Ord for AuthorizationModel
impl Ord for AuthorizationModel
Source§fn cmp(&self, other: &AuthorizationModel) -> Ordering
fn cmp(&self, other: &AuthorizationModel) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AuthorizationModel
impl PartialEq for AuthorizationModel
Source§fn eq(&self, other: &AuthorizationModel) -> bool
fn eq(&self, other: &AuthorizationModel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AuthorizationModel
impl PartialOrd for AuthorizationModel
impl Copy for AuthorizationModel
impl Eq for AuthorizationModel
impl StructuralPartialEq for AuthorizationModel
Auto Trait Implementations§
impl Freeze for AuthorizationModel
impl RefUnwindSafe for AuthorizationModel
impl Send for AuthorizationModel
impl Sync for AuthorizationModel
impl Unpin for AuthorizationModel
impl UnsafeUnpin for AuthorizationModel
impl UnwindSafe for AuthorizationModel
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more