pub enum EventType {
Show 73 variants
AutoModerationActionExecution,
AutoModerationRuleCreate,
AutoModerationRuleDelete,
AutoModerationRuleUpdate,
BanAdd,
BanRemove,
ChannelCreate,
ChannelDelete,
ChannelPinsUpdate,
ChannelUpdate,
CommandPermissionsUpdate,
EntitlementCreate,
EntitlementDelete,
EntitlementUpdate,
GatewayClose,
GatewayHeartbeat,
GatewayHeartbeatAck,
GatewayHello,
GatewayInvalidateSession,
GatewayReconnect,
GuildAuditLogEntryCreate,
GuildCreate,
GuildDelete,
GuildEmojisUpdate,
GuildIntegrationsUpdate,
GuildScheduledEventCreate,
GuildScheduledEventDelete,
GuildScheduledEventUpdate,
GuildScheduledEventUserAdd,
GuildScheduledEventUserRemove,
GuildStickersUpdate,
GuildUpdate,
IntegrationCreate,
IntegrationDelete,
IntegrationUpdate,
InteractionCreate,
InviteCreate,
InviteDelete,
MemberAdd,
MemberChunk,
MemberRemove,
MemberUpdate,
MessageCreate,
MessageDelete,
MessageDeleteBulk,
MessagePollVoteAdd,
MessagePollVoteRemove,
MessageUpdate,
PresenceUpdate,
ReactionAdd,
ReactionRemove,
ReactionRemoveAll,
ReactionRemoveEmoji,
Ready,
Resumed,
RoleCreate,
RoleDelete,
RoleUpdate,
StageInstanceCreate,
StageInstanceDelete,
StageInstanceUpdate,
ThreadCreate,
ThreadDelete,
ThreadListSync,
ThreadMemberUpdate,
ThreadMembersUpdate,
ThreadUpdate,
TypingStart,
UnavailableGuild,
UserUpdate,
VoiceServerUpdate,
VoiceStateUpdate,
WebhooksUpdate,
}
Expand description
The type of an event.
Variants§
AutoModerationActionExecution
AutoModerationRuleCreate
AutoModerationRuleDelete
AutoModerationRuleUpdate
BanAdd
BanRemove
ChannelCreate
ChannelDelete
ChannelPinsUpdate
ChannelUpdate
CommandPermissionsUpdate
EntitlementCreate
EntitlementDelete
EntitlementUpdate
GatewayClose
GatewayHeartbeat
GatewayHeartbeatAck
GatewayHello
GatewayInvalidateSession
GatewayReconnect
GuildAuditLogEntryCreate
GuildCreate
GuildDelete
GuildEmojisUpdate
GuildIntegrationsUpdate
GuildScheduledEventCreate
GuildScheduledEventDelete
GuildScheduledEventUpdate
GuildScheduledEventUserAdd
GuildScheduledEventUserRemove
GuildStickersUpdate
GuildUpdate
IntegrationCreate
IntegrationDelete
IntegrationUpdate
InteractionCreate
InviteCreate
InviteDelete
MemberAdd
MemberChunk
MemberRemove
MemberUpdate
MessageCreate
MessageDelete
MessageDeleteBulk
MessagePollVoteAdd
MessagePollVoteRemove
MessageUpdate
PresenceUpdate
ReactionAdd
ReactionRemove
ReactionRemoveAll
ReactionRemoveEmoji
Ready
Resumed
RoleCreate
RoleDelete
RoleUpdate
StageInstanceCreate
StageInstanceDelete
StageInstanceUpdate
ThreadCreate
ThreadDelete
ThreadListSync
ThreadMemberUpdate
ThreadMembersUpdate
ThreadUpdate
TypingStart
UserUpdate
VoiceServerUpdate
VoiceStateUpdate
WebhooksUpdate
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EventType
impl<'de> Deserialize<'de> for EventType
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
impl Copy for EventType
impl Eq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
impl Freeze for EventType
impl RefUnwindSafe for EventType
impl Send for EventType
impl Sync for EventType
impl Unpin for EventType
impl UnwindSafe for EventType
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
Mutably borrows from an owned value. Read more