Enum discord_sdk::lobby::events::LobbyEvent [−][src]
pub enum LobbyEvent {
Create(Lobby),
Connect(Lobby),
SpeakingStart(SpeakingEvent),
SpeakingStop(SpeakingEvent),
MemberConnect(MemberEvent),
MemberDisconnect(MemberEvent),
MemberUpdate(MemberEvent),
Delete {
id: LobbyId,
},
Update(Lobby),
Message(MessageEvent),
}
Variants
Create(Lobby)
Tuple Fields
0: Lobby
Connect(Lobby)
Tuple Fields
0: Lobby
SpeakingStart(SpeakingEvent)
Tuple Fields
Event fired when a user starts speaking in a lobby voice channel.
SpeakingStop(SpeakingEvent)
Tuple Fields
Event fired when a user stops speaking in a lobby voice channel.
MemberConnect(MemberEvent)
Tuple Fields
0: MemberEvent
Event fired when a user connects to a lobby.
MemberDisconnect(MemberEvent)
Tuple Fields
0: MemberEvent
Event fired when a user disconnects from a lobby.
MemberUpdate(MemberEvent)
Tuple Fields
0: MemberEvent
Event fired when the metadata for a lobby member is changed.
Delete
Fields
id: LobbyId
Event fired when a lobby is deleted, or when the current user disconnects.
Update(Lobby)
Tuple Fields
0: Lobby
Event fired when a lobby is updated. Note that this is only the metadata
on the lobby itself, not the members
.
Message(MessageEvent)
Tuple Fields
0: MessageEvent
Event fired when a message is sent to the lobby.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LobbyEvent
impl Send for LobbyEvent
impl Sync for LobbyEvent
impl Unpin for LobbyEvent
impl UnwindSafe for LobbyEvent
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