Change struct name
This schema is being used as a RoleModifySchema AND as a RoleCreationSchema.
This commit is contained in:
parent
a1a4532b57
commit
4993b7bac8
|
@ -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>,
|
||||
|
|
Loading…
Reference in New Issue