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