aboutsummaryrefslogtreecommitdiff
path: root/examples/05_command_framework/src
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-11-19 09:53:59 -0800
committerZeyla Hellyer <[email protected]>2017-11-19 09:53:59 -0800
commitc3aa63faee8b3ae6d5126aa27a74876766c61e4c (patch)
tree560ae5fcf011a8bb7cbaa5e4a5fc3bb2ee89ee31 /examples/05_command_framework/src
parentAdd `model::Reaction::user` (diff)
downloadserenity-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