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