pub enum AuditDecision {
Allow,
Deny,
}Expand description
The outcome field of an AuditEvent, serialised as "allow" / "deny".
Variants§
Trait Implementations§
Source§impl Clone for AuditDecision
impl Clone for AuditDecision
Source§fn clone(&self) -> AuditDecision
fn clone(&self) -> AuditDecision
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 AuditDecision
impl Debug for AuditDecision
Source§impl<'de> Deserialize<'de> for AuditDecision
impl<'de> Deserialize<'de> for AuditDecision
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 PartialEq for AuditDecision
impl PartialEq for AuditDecision
Source§fn eq(&self, other: &AuditDecision) -> bool
fn eq(&self, other: &AuditDecision) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AuditDecision
impl Serialize for AuditDecision
impl Copy for AuditDecision
impl Eq for AuditDecision
impl StructuralPartialEq for AuditDecision
Auto Trait Implementations§
impl Freeze for AuditDecision
impl RefUnwindSafe for AuditDecision
impl Send for AuditDecision
impl Sync for AuditDecision
impl Unpin for AuditDecision
impl UnsafeUnpin for AuditDecision
impl UnwindSafe for AuditDecision
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