Struct command::object::AuditEntry
zaun_community_protocol::command::object::AuditEntry · Struct
pub struct AuditEntry { … }An audit entry.
Fields
Section titled “Fields”audit_id: AuditId
Section titled “audit_id: AuditId”Host-assigned id.
actor_id: Option<MemberId>
Section titled “actor_id: Option<MemberId>”The acting member; null (always written) when the host itself acted: a timer’s
lockdown.expire, membership.probation_end or membership.restore.
action: String
Section titled “action: String”One of AUDIT_ACTIONS (kept as text so newer actions still parse).
target: AuditTarget
Section titled “target: AuditTarget”What was acted on.
at: u64
Section titled “at: u64”Time, ms.
reason: Option<String>
Section titled “reason: Option<String>”The moderator’s reason.
changes: Vec<AuditChange>
Section titled “changes: Vec<AuditChange>”Field changes; never message content or report evidence.
Trait implementations
Section titled “Trait implementations”Clone, Debug, Deserialize<'de>, Eq, PartialEq, Serialize, StructuralPartialEq