#[non_exhaustive]pub struct IntegrationUpdate {
pub guild_id: GuildId,
pub integration: Integration,
}Expand description
The data of the Integration Update
dispatch event (the integration has no user).
discord.js counterpart: the integration data behind GuildIntegrationsUpdate.
Dereferences to the contained Integration.
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.
integration: IntegrationThe updated integration.
Trait Implementations§
Source§impl Clone for IntegrationUpdate
impl Clone for IntegrationUpdate
Source§impl Debug for IntegrationUpdate
impl Debug for IntegrationUpdate
Source§impl Deref for IntegrationUpdate
impl Deref for IntegrationUpdate
Source§type Target = Integration
type Target = Integration
The resulting type after dereferencing.
Source§fn deref(&self) -> &Integration
fn deref(&self) -> &Integration
Dereferences the value.
Source§impl DerefMut for IntegrationUpdate
impl DerefMut for IntegrationUpdate
Source§fn deref_mut(&mut self) -> &mut Integration
fn deref_mut(&mut self) -> &mut Integration
Mutably dereferences the value.
Source§impl<'de> Deserialize<'de> for IntegrationUpdate
impl<'de> Deserialize<'de> for IntegrationUpdate
Source§fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
fn deserialize<D: Deserializer<'de>>(deserializer: D) -> Result<Self, D::Error>
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for IntegrationUpdate
impl PartialEq for IntegrationUpdate
Source§impl Serialize for IntegrationUpdate
impl Serialize for IntegrationUpdate
impl StructuralPartialEq for IntegrationUpdate
Auto Trait Implementations§
impl Freeze for IntegrationUpdate
impl RefUnwindSafe for IntegrationUpdate
impl Send for IntegrationUpdate
impl Sync for IntegrationUpdate
impl Unpin for IntegrationUpdate
impl UnsafeUnpin for IntegrationUpdate
impl UnwindSafe for IntegrationUpdate
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