aboutsummaryrefslogtreecommitdiff
path: root/src/model
diff options
context:
space:
mode:
Diffstat (limited to 'src/model')
-rw-r--r--src/model/channel/channel_category.rs1
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,