pub struct GuildMembershipUpdated {
pub guild_id: LegacyId,
pub data: MemberData,
}
Fields§
§guild_id: LegacyId
§data: MemberData
Trait Implementations§
source§impl BaseParser for GuildMembershipUpdated
impl BaseParser for GuildMembershipUpdated
fn parse(packet: &mut HPacket) -> Self
fn append_to_packet(&self, packet: &mut HPacket)
fn get_direction() -> HDirection
fn get_packet_name() -> String
source§impl Clone for GuildMembershipUpdated
impl Clone for GuildMembershipUpdated
source§fn clone(&self) -> GuildMembershipUpdated
fn clone(&self) -> GuildMembershipUpdated
Returns a copy 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 GuildMembershipUpdated
impl Debug for GuildMembershipUpdated
source§impl Default for GuildMembershipUpdated
impl Default for GuildMembershipUpdated
source§fn default() -> GuildMembershipUpdated
fn default() -> GuildMembershipUpdated
Returns the “default value” for a type. Read more
source§impl PartialEq<GuildMembershipUpdated> for GuildMembershipUpdated
impl PartialEq<GuildMembershipUpdated> for GuildMembershipUpdated
source§fn eq(&self, other: &GuildMembershipUpdated) -> bool
fn eq(&self, other: &GuildMembershipUpdated) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for GuildMembershipUpdated
Auto Trait Implementations§
impl RefUnwindSafe for GuildMembershipUpdated
impl Send for GuildMembershipUpdated
impl Sync for GuildMembershipUpdated
impl Unpin for GuildMembershipUpdated
impl UnwindSafe for GuildMembershipUpdated
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