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 4547e8b2d6
commit 925165aba2
1 changed files with 1 additions and 1 deletions

View File

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