#[non_exhaustive]pub struct GuildEmojisUpdate {
pub guild_id: GuildId,
pub emojis: Vec<Emoji>,
}Expand description
The data of the Guild Emojis Update dispatch event: the guild’s full emoji list.
discord.js counterpart: the GuildEmojiCreate / Update / Delete events (derived from it).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.guild_id: GuildIdThe guild.
emojis: Vec<Emoji>The guild’s emojis.
Trait Implementations§
Source§impl Clone for GuildEmojisUpdate
impl Clone for GuildEmojisUpdate
Source§impl Debug for GuildEmojisUpdate
impl Debug for GuildEmojisUpdate
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
impl Eq for GuildEmojisUpdate
Source§impl PartialEq for GuildEmojisUpdate
impl PartialEq for GuildEmojisUpdate
Source§impl Serialize for GuildEmojisUpdate
impl Serialize for GuildEmojisUpdate
impl StructuralPartialEq for GuildEmojisUpdate
Auto Trait Implementations§
impl Freeze for GuildEmojisUpdate
impl RefUnwindSafe for GuildEmojisUpdate
impl Send for GuildEmojisUpdate
impl Sync for GuildEmojisUpdate
impl Unpin for GuildEmojisUpdate
impl UnsafeUnpin 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