Enum twilight_model::gateway::event::EventType [−][src]
pub enum EventType {
Show 64 variants
BanAdd,
BanRemove,
ChannelCreate,
ChannelDelete,
ChannelPinsUpdate,
ChannelUpdate,
GatewayHeartbeat,
GatewayHeartbeatAck,
GatewayHello,
GatewayInvalidateSession,
GatewayReconnect,
GiftCodeUpdate,
GuildCreate,
GuildDelete,
GuildEmojisUpdate,
GuildIntegrationsUpdate,
GuildUpdate,
IntegrationCreate,
IntegrationDelete,
IntegrationUpdate,
InteractionCreate,
InviteCreate,
InviteDelete,
MemberAdd,
MemberRemove,
MemberUpdate,
MemberChunk,
MessageCreate,
MessageDelete,
MessageDeleteBulk,
MessageUpdate,
PresenceUpdate,
PresencesReplace,
ReactionAdd,
ReactionRemove,
ReactionRemoveAll,
ReactionRemoveEmoji,
Ready,
Resumed,
RoleCreate,
RoleDelete,
RoleUpdate,
ShardConnected,
ShardConnecting,
ShardDisconnected,
ShardIdentifying,
ShardReconnecting,
ShardPayload,
ShardResuming,
StageInstanceCreate,
StageInstanceDelete,
StageInstanceUpdate,
ThreadCreate,
ThreadDelete,
ThreadListSync,
ThreadMemberUpdate,
ThreadMembersUpdate,
ThreadUpdate,
TypingStart,
UnavailableGuild,
UserUpdate,
VoiceServerUpdate,
VoiceStateUpdate,
WebhooksUpdate,
}Expand description
The type of an event.
Variants
Implementations
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for EventType
impl UnwindSafe for EventType
Blanket Implementations
Mutably borrows from an owned value. Read more
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