From 242021a50ab59a531750db03ed2af7459c734346 Mon Sep 17 00:00:00 2001 From: bitfl0wer Date: Tue, 5 Sep 2023 13:33:50 +0200 Subject: [PATCH] Make the fields on this type public --- src/types/entities/guild.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/types/entities/guild.rs b/src/types/entities/guild.rs index bdd4998..bb4db0c 100644 --- a/src/types/entities/guild.rs +++ b/src/types/entities/guild.rs @@ -268,8 +268,8 @@ impl std::hash::Hash for GuildInvite { #[derive(Serialize, Deserialize, Debug, Default, Clone, PartialEq, Hash)] pub struct UnavailableGuild { - id: Snowflake, - unavailable: bool, + pub id: Snowflake, + pub unavailable: bool, } #[derive(Serialize, Deserialize, Debug, Default, Clone, PartialEq)]