#[non_exhaustive]pub struct GuildBanRemove {
pub guild_id: GuildId,
pub user: User,
}Expand description
The data of the Guild Ban Remove
dispatch event (requires BAN_MEMBERS or VIEW_AUDIT_LOG).
discord.js counterpart: the GuildBanRemove event.
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.
user: UserThe unbanned user.
Trait Implementations§
Source§impl Clone for GuildBanRemove
impl Clone for GuildBanRemove
Source§impl Debug for GuildBanRemove
impl Debug for GuildBanRemove
Source§impl<'de> Deserialize<'de> for GuildBanRemove
impl<'de> Deserialize<'de> for GuildBanRemove
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 GuildBanRemove
Source§impl PartialEq for GuildBanRemove
impl PartialEq for GuildBanRemove
Source§impl Serialize for GuildBanRemove
impl Serialize for GuildBanRemove
impl StructuralPartialEq for GuildBanRemove
Auto Trait Implementations§
impl Freeze for GuildBanRemove
impl RefUnwindSafe for GuildBanRemove
impl Send for GuildBanRemove
impl Sync for GuildBanRemove
impl Unpin for GuildBanRemove
impl UnsafeUnpin for GuildBanRemove
impl UnwindSafe for GuildBanRemove
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