pub struct UpdateGuildBadge {
pub group_id: LegacyId,
pub badge_settings: Vec<GuildBadgeSettings>,
}
Fields§
§group_id: LegacyId
§badge_settings: Vec<GuildBadgeSettings>
Trait Implementations§
Source§impl BaseParser for UpdateGuildBadge
impl BaseParser for UpdateGuildBadge
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 UpdateGuildBadge
impl Clone for UpdateGuildBadge
Source§fn clone(&self) -> UpdateGuildBadge
fn clone(&self) -> UpdateGuildBadge
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 UpdateGuildBadge
impl Debug for UpdateGuildBadge
Source§impl Default for UpdateGuildBadge
impl Default for UpdateGuildBadge
Source§fn default() -> UpdateGuildBadge
fn default() -> UpdateGuildBadge
Returns the “default value” for a type. Read more
Source§impl PacketVariable for UpdateGuildBadge
impl PacketVariable for UpdateGuildBadge
Source§impl PartialEq for UpdateGuildBadge
impl PartialEq for UpdateGuildBadge
impl StructuralPartialEq for UpdateGuildBadge
Auto Trait Implementations§
impl Freeze for UpdateGuildBadge
impl RefUnwindSafe for UpdateGuildBadge
impl Send for UpdateGuildBadge
impl Sync for UpdateGuildBadge
impl Unpin for UpdateGuildBadge
impl UnwindSafe for UpdateGuildBadge
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