pub enum AuditActorKind {
Human,
Agent,
Service,
Engine,
}Expand description
What kind of participant caused an audited fact.
The distinction is not cosmetic: an approval attributed to a human and one attributed to an agent carry different authority, and an audit that cannot tell them apart cannot support either claim.
Variants§
Human
Agent
Service
Engine
The engine acting on its own behalf — lease expiry, timeout, automatic transition. Never a substitute for a human decision.
Implementations§
Trait Implementations§
Source§impl Clone for AuditActorKind
impl Clone for AuditActorKind
impl Copy for AuditActorKind
Source§impl Debug for AuditActorKind
impl Debug for AuditActorKind
Source§impl<'de> Deserialize<'de> for AuditActorKind
impl<'de> Deserialize<'de> for AuditActorKind
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
impl Eq for AuditActorKind
Source§impl Hash for AuditActorKind
impl Hash for AuditActorKind
Source§impl Ord for AuditActorKind
impl Ord for AuditActorKind
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for AuditActorKind
impl PartialEq for AuditActorKind
Source§impl PartialOrd for AuditActorKind
impl PartialOrd for AuditActorKind
Source§impl Serialize for AuditActorKind
impl Serialize for AuditActorKind
impl StructuralPartialEq for AuditActorKind
Auto Trait Implementations§
impl Freeze for AuditActorKind
impl RefUnwindSafe for AuditActorKind
impl Send for AuditActorKind
impl Sync for AuditActorKind
impl Unpin for AuditActorKind
impl UnsafeUnpin for AuditActorKind
impl UnwindSafe for AuditActorKind
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