pub enum AuditLogEventType {
Show 53 variants GuildUpdate, ChannelCreate, ChannelUpdate, ChannelDelete, ChannelOverwriteCreate, ChannelOverwriteUpdate, ChannelOverwriteDelete, MemberKick, MemberPrune, MemberBanAdd, MemberBanRemove, MemberUpdate, MemberRoleUpdate, MemberMove, MemberDisconnect, BotAdd, RoleCreate, RoleUpdate, RoleDelete, InviteCreate, InviteUpdate, InviteDelete, WebhookCreate, WebhookUpdate, WebhookDelete, EmojiCreate, EmojiUpdate, EmojiDelete, MessageDelete, MessageBulkDelete, MessagePin, MessageUnpin, IntegrationCreate, IntegrationUpdate, IntegrationDelete, StageInstanceCreate, StageInstanceUpdate, StageInstanceDelete, StickerCreate, StickerUpdate, StickerDelete, GuildScheduledEventCreate, GuildScheduledEventUpdate, GuildScheduledEventDelete, ThreadCreate, ThreadUpdate, ThreadDelete, ApplicationCommandPermissionUpdate, AutoModerationRuleCreate, AutoModerationRuleUpdate, AutoModerationRuleDelete, AutoModerationBlockMessage, Unknown(u16),
}
Expand description

Action to cause an AuditLogEntry.

Variants

GuildUpdate

Guild was updated.

ChannelCreate

Channel was created.

ChannelUpdate

Channel was updated.

ChannelDelete

Channel was deleted.

ChannelOverwriteCreate

Permission overwrite for a channel was created.

ChannelOverwriteUpdate

Permission overwrite for a channel was updated.

ChannelOverwriteDelete

Permission overwrite for a channel was deleted.

MemberKick

Member was kicked.

MemberPrune

Member prune began.

MemberBanAdd

Member was banned.

MemberBanRemove

Member’s ban was removed.

MemberUpdate

Member was updated.

MemberRoleUpdate

Member either had a role attached or removed.

MemberMove

Member was moved between voice channels.

MemberDisconnect

Member was disconnected from a voice channel.

BotAdd

Bot user was added to a guild.

RoleCreate

Role was created.

RoleUpdate

Role was updated.

RoleDelete

Role was deleted.

InviteCreate

Invite was created.

InviteUpdate

Invite was updated.

InviteDelete

Invite was deleted.

WebhookCreate

Webhook was created.

WebhookUpdate

Webhook was updated.

WebhookDelete

Webhook was deleted.

EmojiCreate

Emoji was created.

EmojiUpdate

Emoji was updated.

EmojiDelete

Emoji was deleted.

MessageDelete

Message was deleted.

MessageBulkDelete

Multiple messages were deleted.

MessagePin

Message was pinned to a channel.

MessageUnpin

Message was unpinned from a channel.

IntegrationCreate

Integration was created.

IntegrationUpdate

Integration was updated.

IntegrationDelete

Integration was deleted.

StageInstanceCreate

Stage instance was created.

StageInstanceUpdate

Stage instance was updated.

StageInstanceDelete

Stage instance was deleted.

StickerCreate

Sticker was created.

StickerUpdate

Sticker was updated.

StickerDelete

Sticker was deleted.

GuildScheduledEventCreate

GuildScheduledEvent was created.

GuildScheduledEventUpdate

GuildScheduledEvent was updated.

GuildScheduledEventDelete

GuildScheduledEvent was deleted.

ThreadCreate

Thread channel was created.

ThreadUpdate

Thread channel was updated.

ThreadDelete

Thread channel was deleted.

ApplicationCommandPermissionUpdate

A GuildCommandPermissions was updated.

AutoModerationRuleCreate

AutoModerationRule has been created.

AutoModerationRuleUpdate

AutoModerationRule has been updated.

AutoModerationRuleDelete

AutoModerationRule has been deleted.

AutoModerationBlockMessage

Message has been blocked by AutoMod according to a rule.

Unknown(u16)

Variant value is unknown to the library.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Deserialize this value from the given Serde deserializer. Read more
Converts to this type from the input type.
Converts to this type from the input type.
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more
Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.
Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more