pub enum AccessDecision {
Allow,
Deny,
Abstain,
NotApplicable,
}Expand description
Access decision labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for AccessDecision
impl Clone for AccessDecision
Source§fn clone(&self) -> AccessDecision
fn clone(&self) -> AccessDecision
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 AccessDecision
impl Debug for AccessDecision
Source§impl Display for AccessDecision
impl Display for AccessDecision
Source§impl FromStr for AccessDecision
impl FromStr for AccessDecision
Source§impl Hash for AccessDecision
impl Hash for AccessDecision
Source§impl Ord for AccessDecision
impl Ord for AccessDecision
Source§fn cmp(&self, other: &AccessDecision) -> Ordering
fn cmp(&self, other: &AccessDecision) -> 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 AccessDecision
impl PartialEq for AccessDecision
Source§fn eq(&self, other: &AccessDecision) -> bool
fn eq(&self, other: &AccessDecision) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AccessDecision
impl PartialOrd for AccessDecision
impl Copy for AccessDecision
impl Eq for AccessDecision
impl StructuralPartialEq for AccessDecision
Auto Trait Implementations§
impl Freeze for AccessDecision
impl RefUnwindSafe for AccessDecision
impl Send for AccessDecision
impl Sync for AccessDecision
impl Unpin for AccessDecision
impl UnsafeUnpin for AccessDecision
impl UnwindSafe for AccessDecision
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