Enum twilight_model::gateway::event::EventType
source · pub enum EventType {
Show 70 variants
AutoModerationActionExecution,
AutoModerationRuleCreate,
AutoModerationRuleDelete,
AutoModerationRuleUpdate,
BanAdd,
BanRemove,
ChannelCreate,
ChannelDelete,
ChannelPinsUpdate,
ChannelUpdate,
CommandPermissionsUpdate,
GatewayClose,
GatewayHeartbeat,
GatewayHeartbeatAck,
GatewayHello,
GatewayInvalidateSession,
GatewayReconnect,
GiftCodeUpdate,
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,
MessageUpdate,
PresenceUpdate,
PresencesReplace,
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
GatewayClose
GatewayHeartbeat
GatewayHeartbeatAck
GatewayHello
GatewayInvalidateSession
GatewayReconnect
GiftCodeUpdate
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
MessageUpdate
PresenceUpdate
PresencesReplace
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
source§impl PartialEq<EventType> for EventType
impl PartialEq<EventType> for EventType
impl Copy for EventType
impl Eq for EventType
impl StructuralEq for EventType
impl StructuralPartialEq for EventType
Auto Trait Implementations§
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