#[non_exhaustive]pub struct IntegrationDelete {
pub id: IntegrationId,
pub guild_id: GuildId,
pub application_id: Option<ApplicationId>,
}Expand description
The data of the Integration Delete dispatch event.
discord.js counterpart: GatewayIntegrationDeleteDispatchData (discord-api-types).
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.id: IntegrationIdThe deleted integration.
guild_id: GuildIdThe guild.
application_id: Option<ApplicationId>The bot or OAuth2 application of a Discord integration.
Trait Implementations§
Source§impl Clone for IntegrationDelete
impl Clone for IntegrationDelete
impl Copy for IntegrationDelete
Source§impl Debug for IntegrationDelete
impl Debug for IntegrationDelete
Source§impl<'de> Deserialize<'de> for IntegrationDelete
impl<'de> Deserialize<'de> for IntegrationDelete
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 IntegrationDelete
Source§impl Hash for IntegrationDelete
impl Hash for IntegrationDelete
Source§impl PartialEq for IntegrationDelete
impl PartialEq for IntegrationDelete
Source§impl Serialize for IntegrationDelete
impl Serialize for IntegrationDelete
impl StructuralPartialEq for IntegrationDelete
Auto Trait Implementations§
impl Freeze for IntegrationDelete
impl RefUnwindSafe for IntegrationDelete
impl Send for IntegrationDelete
impl Sync for IntegrationDelete
impl Unpin for IntegrationDelete
impl UnsafeUnpin for IntegrationDelete
impl UnwindSafe for IntegrationDelete
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