Crate serenity_voice_model

Source
Expand description

Mappings of objects received from Discord’s voice gateway API, with implementations for (de)serialisation.

Modules§

constants
A set of constants used by the library.
id
A collection of newtypes defining type-strong IDs.
payload
Message bodies used in gateway event-handling.

Structs§

ProtocolData
The client’s response to a connection offer.
SpeakingState
Flag set describing how a speaker is sending audio.

Enums§

CloseCode
Discord Voice Gateway Websocket close codes.
Event
A representation of data received for voice gateway events.
Opcode
An enum representing the voice opcodes.

Traits§

FromPrimitive
A generic trait for converting a number to a value.