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 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 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 for GuildMembershipUpdated
impl PartialEq for GuildMembershipUpdated
impl StructuralPartialEq for GuildMembershipUpdated
Auto Trait Implementations§
impl Freeze for GuildMembershipUpdated
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