diff options
| author | acdenisSK <[email protected]> | 2017-09-09 18:01:35 +0200 |
|---|---|---|
| committer | acdenisSK <[email protected]> | 2017-09-09 18:01:56 +0200 |
| commit | 192ac8aec0afb33055352ed6e6838c506cbbbf8c (patch) | |
| tree | cd215601757db37ccac5b52d1a2ee1373666e5d5 /src | |
| parent | Apply rustfmt + fix tests (diff) | |
| download | serenity-192ac8aec0afb33055352ed6e6838c506cbbbf8c.tar.xz serenity-192ac8aec0afb33055352ed6e6838c506cbbbf8c.zip | |
serde rename `kind` to `type`
Diffstat (limited to 'src')
| -rw-r--r-- | src/model/channel/channel_category.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/model/channel/channel_category.rs b/src/model/channel/channel_category.rs index 29f6b36..9a56234 100644 --- a/src/model/channel/channel_category.rs +++ b/src/model/channel/channel_category.rs @@ -20,6 +20,7 @@ pub struct ChannelCategory { /// This should always be [`ChannelType::Category`]. /// /// [`ChannelType::Category`]: enum.ChannelType.html#variant.Category + #[serde(rename = "type")] pub kind: ChannelType, /// The name of the category. pub name: String, |