Skip to content

Commit

Permalink
Add Clone derive to GatewayRequestGuildMembers
Browse files Browse the repository at this point in the history
  • Loading branch information
bitfl0wer committed Oct 10, 2024
1 parent b6ca485 commit 239f994
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/types/events/request_members.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use crate::types::{events::WebSocketEvent, Snowflake};
use serde::{Deserialize, Serialize};

#[derive(Debug, Deserialize, Serialize, Default, WebSocketEvent)]
#[derive(Debug, Deserialize, Serialize, Default, WebSocketEvent, Clone)]
/// See <https://discord.com/developers/docs/topics/gateway-events#request-guild-members-request-guild-members-structure>
pub struct GatewayRequestGuildMembers {
pub guild_id: Snowflake,
Expand All @@ -16,4 +16,3 @@ pub struct GatewayRequestGuildMembers {
pub user_ids: Option<Snowflake>,
pub nonce: Option<String>,
}

0 comments on commit 239f994

Please sign in to comment.