#[non_exhaustive]pub struct GuildStickersUpdate {
pub guild_id: GuildId,
pub stickers: Vec<Sticker>,
}Expand description
The data of the Guild Stickers Update dispatch event: the guild’s full sticker list.
discord.js counterpart: the GuildStickerCreate / 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.
stickers: Vec<Sticker>The guild’s stickers.
Trait Implementations§
Source§impl Clone for GuildStickersUpdate
impl Clone for GuildStickersUpdate
Source§impl Debug for GuildStickersUpdate
impl Debug for GuildStickersUpdate
Source§impl<'de> Deserialize<'de> for GuildStickersUpdate
impl<'de> Deserialize<'de> for GuildStickersUpdate
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 GuildStickersUpdate
Source§impl PartialEq for GuildStickersUpdate
impl PartialEq for GuildStickersUpdate
Source§impl Serialize for GuildStickersUpdate
impl Serialize for GuildStickersUpdate
impl StructuralPartialEq for GuildStickersUpdate
Auto Trait Implementations§
impl Forget for GuildStickersUpdate
impl Freeze for GuildStickersUpdate
impl Move for GuildStickersUpdate
impl RefUnwindSafe for GuildStickersUpdate
impl Send for GuildStickersUpdate
impl Sync for GuildStickersUpdate
impl Unpin for GuildStickersUpdate
impl UnsafeUnpin for GuildStickersUpdate
impl UnwindSafe for GuildStickersUpdate
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