Struct twilight_model::guild::audit_log::AuditLog
source · pub struct AuditLog {
pub application_commands: Vec<Command>,
pub auto_moderation_rules: Vec<AutoModerationRule>,
pub entries: Vec<AuditLogEntry>,
pub guild_scheduled_events: Vec<GuildScheduledEvent>,
pub integrations: Vec<AuditLogGuildIntegration>,
pub threads: Vec<Channel>,
pub users: Vec<User>,
pub webhooks: Vec<Webhook>,
}Expand description
Paginated audit log entries with additional information.
For additional information refer to Discord Docs/Audit Logs.
Fields§
§application_commands: Vec<Command>List of referenced application commands.
auto_moderation_rules: Vec<AutoModerationRule>List of referenced auto moderation rules.
entries: Vec<AuditLogEntry>Paginated entries in a guild’s audit log.
guild_scheduled_events: Vec<GuildScheduledEvent>Information about mentioned scheduled events.
integrations: Vec<AuditLogGuildIntegration>Information about mentioned integrations.
threads: Vec<Channel>Information about mentioned threads.
users: Vec<User>Information about mentioned users.
For example, users that performed the action to create an entry are in this list.
webhooks: Vec<Webhook>Information about mentioned webhooks.
Trait Implementations§
source§impl<'de> Deserialize<'de> for AuditLog
impl<'de> Deserialize<'de> for AuditLog
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