pub enum DoctrineForce {
Advisory,
Conditioning,
Gate,
}Expand description
Enforcement strength of a doctrine entry.
Variants§
Advisory
Advisory — informational only, not enforced.
Conditioning
Conditioning — influences behaviour without hard refusal.
Gate
Gate — enforced; blocks the action when violated.
Trait Implementations§
Source§impl Clone for DoctrineForce
impl Clone for DoctrineForce
Source§fn clone(&self) -> DoctrineForce
fn clone(&self) -> DoctrineForce
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 DoctrineForce
impl Debug for DoctrineForce
Source§impl<'de> Deserialize<'de> for DoctrineForce
impl<'de> Deserialize<'de> for DoctrineForce
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for DoctrineForce
impl Ord for DoctrineForce
Source§fn cmp(&self, other: &DoctrineForce) -> Ordering
fn cmp(&self, other: &DoctrineForce) -> 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 DoctrineForce
impl PartialEq for DoctrineForce
Source§fn eq(&self, other: &DoctrineForce) -> bool
fn eq(&self, other: &DoctrineForce) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for DoctrineForce
impl PartialOrd for DoctrineForce
Source§impl Serialize for DoctrineForce
impl Serialize for DoctrineForce
impl Eq for DoctrineForce
impl StructuralPartialEq for DoctrineForce
Auto Trait Implementations§
impl Freeze for DoctrineForce
impl RefUnwindSafe for DoctrineForce
impl Send for DoctrineForce
impl Sync for DoctrineForce
impl Unpin for DoctrineForce
impl UnsafeUnpin for DoctrineForce
impl UnwindSafe for DoctrineForce
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