diff options
| author | Zeyla Hellyer <[email protected]> | 2018-01-01 15:55:46 -0800 |
|---|---|---|
| committer | Zeyla Hellyer <[email protected]> | 2018-01-01 15:55:46 -0800 |
| commit | 25dddb6695109eeead9e19593cb85a22096c2c7a (patch) | |
| tree | d68d78d210a2804d10027035163871bf806c7e23 /src/model/guild/role.rs | |
| parent | Give hyper Response in HTTP errors (diff) | |
| download | serenity-25dddb6695109eeead9e19593cb85a22096c2c7a.tar.xz serenity-25dddb6695109eeead9e19593cb85a22096c2c7a.zip | |
Implement or derive Serialize on all models
Diffstat (limited to 'src/model/guild/role.rs')
| -rw-r--r-- | src/model/guild/role.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/model/guild/role.rs b/src/model/guild/role.rs index 6215c4e..53ec478 100644 --- a/src/model/guild/role.rs +++ b/src/model/guild/role.rs @@ -14,7 +14,7 @@ use {CACHE, http}; /// are unique per guild and do not cross over to other guilds in any way, and /// can have channel-specific permission overrides in addition to guild-level /// permissions. -#[derive(Clone, Debug, Deserialize)] +#[derive(Clone, Debug, Deserialize, Serialize)] pub struct Role { /// The Id of the role. Can be used to calculate the role's creation date. pub id: RoleId, |