pub struct GuildRoleDelete {
pub guild_id: Snowflake,
pub role: Snowflake,
}Expand description
Represents a packet sent when a role is created in a guild.
Fields§
§guild_id: SnowflakeThe guild ID of the guild.
role: SnowflakeThe ID of the deleted role.
Trait Implementations§
Source§impl Clone for GuildRoleDelete
impl Clone for GuildRoleDelete
Source§fn clone(&self) -> GuildRoleDelete
fn clone(&self) -> GuildRoleDelete
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 GuildRoleDelete
impl Debug for GuildRoleDelete
Source§impl<'de> Deserialize<'de> for GuildRoleDelete
impl<'de> Deserialize<'de> for GuildRoleDelete
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for GuildRoleDelete
impl RefUnwindSafe for GuildRoleDelete
impl Send for GuildRoleDelete
impl Sync for GuildRoleDelete
impl Unpin for GuildRoleDelete
impl UnwindSafe for GuildRoleDelete
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