Change struct name

This schema is being used as a RoleModifySchema AND as a RoleCreationSchema.
This commit is contained in:
bitfl0wer 2023-06-08 20:43:29 +02:00
parent a1a4532b57
commit 4993b7bac8
No known key found for this signature in database
GPG Key ID: 84BBB60DF895ABF2
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ pub struct GuildCreateSchema {
#[derive(Debug, Deserialize, Serialize)]
#[serde(rename_all = "snake_case")]
pub struct RoleCreateSchema {
pub struct RoleCreateModifySchema {
pub name: Option<String>,
pub permissions: Option<String>,
pub color: Option<u32>,