pub struct UpdateGuildColors {
pub group_id: LegacyId,
pub primary_color_id: i32,
pub secondary_color_id: i32,
}
Fields§
§group_id: LegacyId
§primary_color_id: i32
§secondary_color_id: i32
Trait Implementations§
source§impl BaseParser for UpdateGuildColors
impl BaseParser for UpdateGuildColors
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 UpdateGuildColors
impl Clone for UpdateGuildColors
source§fn clone(&self) -> UpdateGuildColors
fn clone(&self) -> UpdateGuildColors
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 UpdateGuildColors
impl Debug for UpdateGuildColors
source§impl Default for UpdateGuildColors
impl Default for UpdateGuildColors
source§fn default() -> UpdateGuildColors
fn default() -> UpdateGuildColors
Returns the “default value” for a type. Read more
source§impl PacketVariable for UpdateGuildColors
impl PacketVariable for UpdateGuildColors
source§impl PartialEq<UpdateGuildColors> for UpdateGuildColors
impl PartialEq<UpdateGuildColors> for UpdateGuildColors
source§fn eq(&self, other: &UpdateGuildColors) -> bool
fn eq(&self, other: &UpdateGuildColors) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for UpdateGuildColors
Auto Trait Implementations§
impl RefUnwindSafe for UpdateGuildColors
impl Send for UpdateGuildColors
impl Sync for UpdateGuildColors
impl Unpin for UpdateGuildColors
impl UnwindSafe for UpdateGuildColors
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