1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16
use crate::{ guild::audit_log::{AuditLogChange, AuditLogEvent, AuditLogOptionalEntryInfo}, id::{AuditLogEntryId, UserId}, }; use serde::{Deserialize, Serialize}; #[derive(Clone, Debug, Deserialize, Serialize)] pub struct AuditLogEntry { pub action_type: AuditLogEvent, pub changes: Option<Vec<AuditLogChange>>, pub id: AuditLogEntryId, pub options: Option<AuditLogOptionalEntryInfo>, pub reason: Option<String>, pub target_id: Option<String>, pub user_id: UserId, }