diff options
| author | Zeyla Hellyer <[email protected]> | 2017-11-19 09:53:59 -0800 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-11-19 09:53:59 -0800 |
| commit | c3aa63faee8b3ae6d5126aa27a74876766c61e4c (patch) | |
| tree | 560ae5fcf011a8bb7cbaa5e4a5fc3bb2ee89ee31 /examples/05_command_framework/src | |
| parent | Add `model::Reaction::user` (diff) | |
| download | serenity-c3aa63faee8b3ae6d5126aa27a74876766c61e4c.tar.xz serenity-c3aa63faee8b3ae6d5126aa27a74876766c61e4c.zip | |
Implement Deserialize for {,Gateway,Voice}Event
Implement Deserialize for `model::event::GatewayEvent` and
`model::event::VoiceEvent`, and derive it for `model::event::Event`.
Due to the natural potential slowness of deserializing into`Event`
(attempting to deserialize into each variant until successful), a
function named `model::event::deserialize_event_with_type` is provided
for quickly deserializing into a known type if the dispatch type is
known.
Diffstat (limited to 'examples/05_command_framework/src')
0 files changed, 0 insertions, 0 deletions