pub struct GuildUpdate(pub Guild);Expand description
The data of the Guild Update dispatch event.
discord.js counterpart: the GuildUpdate event.
Dereferences to the contained Guild.
Tuple Fields§
§0: GuildTrait Implementations§
Source§impl Clone for GuildUpdate
impl Clone for GuildUpdate
Source§impl Debug for GuildUpdate
impl Debug for GuildUpdate
Source§impl Deref for GuildUpdate
impl Deref for GuildUpdate
Source§impl DerefMut for GuildUpdate
impl DerefMut for GuildUpdate
Source§impl<'de> Deserialize<'de> for GuildUpdate
impl<'de> Deserialize<'de> for GuildUpdate
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
Source§impl From<GuildUpdate> for Guild
impl From<GuildUpdate> for Guild
Source§fn from(event: GuildUpdate) -> Self
fn from(event: GuildUpdate) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GuildUpdate
impl PartialEq for GuildUpdate
Source§impl Serialize for GuildUpdate
impl Serialize for GuildUpdate
impl StructuralPartialEq for GuildUpdate
Auto Trait Implementations§
impl Freeze for GuildUpdate
impl RefUnwindSafe for GuildUpdate
impl Send for GuildUpdate
impl Sync for GuildUpdate
impl Unpin for GuildUpdate
impl UnsafeUnpin for GuildUpdate
impl UnwindSafe for GuildUpdate
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