aboutsummaryrefslogtreecommitdiff
path: root/src/model/invite.rs
diff options
context:
space:
mode:
authorMaiddog <[email protected]>2017-08-26 17:55:43 -0500
committeralex <[email protected]>2017-08-27 00:55:43 +0200
commit3e0b1032d80a1847558a752e8316d97f9ae58f04 (patch)
treeca65390091cb3c0ab98b6497a1447ba69df3d20d /src/model/invite.rs
parentUse `$crate` for `Args` (diff)
downloadserenity-3e0b1032d80a1847558a752e8316d97f9ae58f04.tar.xz
serenity-3e0b1032d80a1847558a752e8316d97f9ae58f04.zip
Add ability to play DCA and Opus files. (#148)
Diffstat (limited to 'src/model/invite.rs')
-rw-r--r--src/model/invite.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/model/invite.rs b/src/model/invite.rs
index c066128..f48ecbc 100644
--- a/src/model/invite.rs
+++ b/src/model/invite.rs
@@ -152,7 +152,8 @@ impl Invite {
pub struct InviteChannel {
pub id: ChannelId,
pub name: String,
- #[serde(rename = "type")] pub kind: ChannelType,
+ #[serde(rename = "type")]
+ pub kind: ChannelType,
}
/// A minimal amount of information about the guild an invite points to.