Skip to content

Commit

Permalink
Add role description
Browse files Browse the repository at this point in the history
  • Loading branch information
novacrazy committed Dec 7, 2023
1 parent f0cce9c commit 67435af
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/models/role.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,10 @@ pub struct Role {
#[serde(default, skip_serializing_if = "Option::is_none")]
pub avatar: Option<SmolStr>,
pub name: SmolStr,
#[serde(default, skip_serializing_if = "Option::is_none")]
pub desc: Option<SmolStr>,
pub permissions: Permissions,
pub color: Option<u32>,
pub color: Option<u32>, // can be intentionally null
pub position: i16,
pub flags: RoleFlags,
}
Expand Down

0 comments on commit 67435af

Please sign in to comment.