pub enum AuditLogEventType {
Show 57 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,
AutoModerationFlagToChannel,
AutoModerationUserCommunicationDisabled,
CreatorMonetizationRequestCreated,
CreatorMonetizationTermsAccepted,
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
MemberUpdate
Member was updated.
MemberRoleUpdate
MemberMove
MemberDisconnect
BotAdd
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
MessageUnpin
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.
AutoModerationFlagToChannel
Message has been flagged by AutoMod.
AutoModerationUserCommunicationDisabled
A member has been timed out by AutoMod.
CreatorMonetizationRequestCreated
Creator monetization request was created.
CreatorMonetizationTermsAccepted
Creator monetization terms were accepted.
Unknown(u16)
Variant value is unknown to the library.
Trait Implementations§
source§impl Clone for AuditLogEventType
impl Clone for AuditLogEventType
source§fn clone(&self) -> AuditLogEventType
fn clone(&self) -> AuditLogEventType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AuditLogEventType
impl Debug for AuditLogEventType
source§impl<'de> Deserialize<'de> for AuditLogEventType
impl<'de> Deserialize<'de> for AuditLogEventType
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>,
source§impl From<AuditLogEventType> for u16
impl From<AuditLogEventType> for u16
source§fn from(value: AuditLogEventType) -> Self
fn from(value: AuditLogEventType) -> Self
source§impl From<u16> for AuditLogEventType
impl From<u16> for AuditLogEventType
source§impl Hash for AuditLogEventType
impl Hash for AuditLogEventType
source§impl PartialEq for AuditLogEventType
impl PartialEq for AuditLogEventType
source§impl Serialize for AuditLogEventType
impl Serialize for AuditLogEventType
impl Copy for AuditLogEventType
impl Eq for AuditLogEventType
impl StructuralPartialEq for AuditLogEventType
Auto Trait Implementations§
impl Freeze for AuditLogEventType
impl RefUnwindSafe for AuditLogEventType
impl Send for AuditLogEventType
impl Sync for AuditLogEventType
impl Unpin for AuditLogEventType
impl UnwindSafe for AuditLogEventType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)