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