[−][src]Enum twilight_model::gateway::event::DispatchEvent
A dispatch event, containing information about a created guild, a member added, etc.
You can deserialize into a DispatchEvent via
DispatchEventWithTypeDeserializer.
Variants
BanAdd(BanAdd)BanRemove(BanRemove)ChannelCreate(ChannelCreate)ChannelDelete(ChannelDelete)ChannelPinsUpdate(ChannelPinsUpdate)ChannelUpdate(ChannelUpdate)GuildCreate(Box<GuildCreate>)GuildDelete(Box<GuildDelete>)GuildEmojisUpdate(GuildEmojisUpdate)GuildIntegrationsUpdate(GuildIntegrationsUpdate)GuildUpdate(Box<GuildUpdate>)InviteCreate(Box<InviteCreate>)InviteDelete(InviteDelete)MemberRemove(MemberRemove)MemberUpdate(Box<MemberUpdate>)MemberChunk(MemberChunk)MessageCreate(Box<MessageCreate>)MessageDelete(MessageDelete)MessageDeleteBulk(MessageDeleteBulk)MessageUpdate(Box<MessageUpdate>)PresenceUpdate(Box<PresenceUpdate>)ReactionAdd(Box<ReactionAdd>)ReactionRemove(Box<ReactionRemove>)ReactionRemoveAll(ReactionRemoveAll)ReactionRemoveEmoji(ReactionRemoveEmoji)RoleCreate(RoleCreate)RoleDelete(RoleDelete)RoleUpdate(RoleUpdate)TypingStart(Box<TypingStart>)UserUpdate(UserUpdate)VoiceServerUpdate(VoiceServerUpdate)VoiceStateUpdate(Box<VoiceStateUpdate>)WebhooksUpdate(WebhooksUpdate)Implementations
impl DispatchEvent[src]
Trait Implementations
impl Clone for DispatchEvent[src]
fn clone(&self) -> DispatchEvent[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]
impl Debug for DispatchEvent[src]
impl Eq for DispatchEvent[src]
impl PartialEq<DispatchEvent> for DispatchEvent[src]
fn eq(&self, other: &DispatchEvent) -> bool[src]
fn ne(&self, other: &DispatchEvent) -> bool[src]
impl Serialize for DispatchEvent[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer, [src]
__S: Serializer,
impl StructuralEq for DispatchEvent[src]
impl StructuralPartialEq for DispatchEvent[src]
impl TryFrom<Event> for DispatchEvent[src]
Auto Trait Implementations
impl RefUnwindSafe for DispatchEvent
impl Send for DispatchEvent
impl Sync for DispatchEvent
impl Unpin for DispatchEvent
impl UnwindSafe for DispatchEvent
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone, [src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T[src]
fn clone_into(&self, target: &mut T)[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,