diff options
Diffstat (limited to 'src/model')
| -rw-r--r-- | src/model/event.rs | 2 | ||||
| -rw-r--r-- | src/model/mod.rs | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/model/event.rs b/src/model/event.rs index adda71f..b9801dc 100644 --- a/src/model/event.rs +++ b/src/model/event.rs @@ -895,6 +895,7 @@ impl WebhookUpdateEvent { } } +#[allow(large_enum_variant)] #[derive(Debug, Clone)] pub enum GatewayEvent { Dispatch(u64, Event), @@ -937,6 +938,7 @@ impl GatewayEvent { } /// Event received over a websocket connection +#[allow(large_enum_variant)] #[derive(Clone, Debug)] pub enum Event { /// A new group call has been created diff --git a/src/model/mod.rs b/src/model/mod.rs index 790e378..c3dd233 100644 --- a/src/model/mod.rs +++ b/src/model/mod.rs @@ -142,6 +142,7 @@ pub enum Channel { /// /// This is used to differentiate whether a guild itself can be used or whether /// a guild needs to be retrieved from the cache. +#[allow(large_enum_variant)] pub enum GuildContainer { /// A guild which can have its contents directly searched. Guild(PartialGuild), |