# Struct command::object::AuditEntry

> An audit entry.

`zaun_community_protocol::command::object::AuditEntry` · Struct

```rust
pub struct AuditEntry { … }
```

An audit entry.

## Fields

### `audit_id: AuditId`

Host-assigned id.

### `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`

One of `AUDIT_ACTIONS` (kept as text so newer actions still parse).

### `target: AuditTarget`

What was acted on.

### `at: u64`

Time, ms.

### `reason: Option<String>`

The moderator's reason.

### `changes: Vec<AuditChange>`

Field changes; never message content or report evidence.

## Trait implementations

`Clone`, `Debug`, `Deserialize<'de>`, `Eq`, `PartialEq`, `Serialize`, `StructuralPartialEq`

[Full rustdoc page](/docs/api/rust/zaun-community-protocol/zaun_community_protocol/command/object/audit/struct.AuditEntry.html)
