From e552bdb352480cf4236a27e22560bad29324fcf1 Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Sun, 14 May 2023 22:45:55 +0200 Subject: [PATCH] make fields on GuildCreateSchema pub --- src/api/schemas.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/api/schemas.rs b/src/api/schemas.rs index 6c021b6..1fd0e76 100644 --- a/src/api/schemas.rs +++ b/src/api/schemas.rs @@ -290,13 +290,13 @@ impl MessageSendSchema { #[derive(Debug, Deserialize, Serialize)] #[serde(rename_all = "snake_case")] pub struct GuildCreateSchema { - name: Option, - region: Option, - icon: Option, - channels: Option>, - guild_template_code: Option, - system_channel_id: Option, - rules_channel_id: Option, + pub name: Option, + pub region: Option, + pub icon: Option, + pub channels: Option>, + pub guild_template_code: Option, + pub system_channel_id: Option, + pub rules_channel_id: Option, } // I know that some of these tests are... really really basic and unneccessary, but sometimes, I