pub struct GuildEmojisUpdate {
pub guild_id: Snowflake,
pub emojis: Vec<Emoji>,
}Expand description
The gateway event emitted when a guild’s emojis are updated.
Fields§
§guild_id: SnowflakeThe guild ID that the emojis belong to.
emojis: Vec<Emoji>The collion of guild emojis.
Trait Implementations§
Source§impl Clone for GuildEmojisUpdate
impl Clone for GuildEmojisUpdate
Source§fn clone(&self) -> GuildEmojisUpdate
fn clone(&self) -> GuildEmojisUpdate
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 GuildEmojisUpdate
impl Debug for GuildEmojisUpdate
Source§impl Default for GuildEmojisUpdate
impl Default for GuildEmojisUpdate
Source§fn default() -> GuildEmojisUpdate
fn default() -> GuildEmojisUpdate
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GuildEmojisUpdate
impl<'de> Deserialize<'de> for GuildEmojisUpdate
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 GuildEmojisUpdate
impl RefUnwindSafe for GuildEmojisUpdate
impl Send for GuildEmojisUpdate
impl Sync for GuildEmojisUpdate
impl Unpin for GuildEmojisUpdate
impl UnwindSafe for GuildEmojisUpdate
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