diff options
| author | Zeyla Hellyer <[email protected]> | 2017-12-15 14:33:21 -0800 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2017-12-15 14:34:10 -0800 |
| commit | 99d17d2975143b0d588c969f7ae6f8d11e62a9e1 (patch) | |
| tree | 74ea2a369180ee343b285cb1c0394f1c8161313a /src/model/mod.rs | |
| parent | Change type of a couple Guild/PartialGuild fields (diff) | |
| download | serenity-99d17d2975143b0d588c969f7ae6f8d11e62a9e1.tar.xz serenity-99d17d2975143b0d588c969f7ae6f8d11e62a9e1.zip | |
Fix deserialization of `Guild::application_id`
Fix the deserialization of the `Guild::application_id` structfield.
Additionally, create a new ID type for it.
A test has been added for this.
Diffstat (limited to 'src/model/mod.rs')
| -rw-r--r-- | src/model/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/model/mod.rs b/src/model/mod.rs index 7a7a007..1dd5192 100644 --- a/src/model/mod.rs +++ b/src/model/mod.rs @@ -105,6 +105,8 @@ macro_rules! id_u64 { } id_u64! { + /// An identifier for an Application. + ApplicationId; /// An identifier for a Channel ChannelId; /// An identifier for an Emoji |