Enum twilight_model::gateway::event::EventType [−][src]
pub enum EventType {
Show 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,
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>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for EventTypeimpl UnwindSafe for EventTypeBlanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span, returning an
Instrumented wrapper. Read more