pub struct GuildMembersChunk {
pub guild_id: Snowflake,
pub members: Vec<GuildMember>,
}Expand description
Represents a response to a Guild Request Members packet.
Fields§
§guild_id: SnowflakeThe guild ID of the guild.
members: Vec<GuildMember>An array of guild member objects.
Trait Implementations§
Source§impl Clone for GuildMembersChunk
impl Clone for GuildMembersChunk
Source§fn clone(&self) -> GuildMembersChunk
fn clone(&self) -> GuildMembersChunk
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GuildMembersChunk
impl Debug for GuildMembersChunk
Source§impl<'de> Deserialize<'de> for GuildMembersChunk
impl<'de> Deserialize<'de> for GuildMembersChunk
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GuildMembersChunk
impl RefUnwindSafe for GuildMembersChunk
impl Send for GuildMembersChunk
impl Sync for GuildMembersChunk
impl Unpin for GuildMembersChunk
impl UnwindSafe for GuildMembersChunk
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more