Struct twilight_model::gateway::payload::incoming::AutoModerationRuleDelete
source · pub struct AutoModerationRuleDelete(pub AutoModerationRule);
Expand description
Auto moderation rule has been deleted.
Requires Permissions::MANAGE_GUILD
.
Tuple Fields§
§0: AutoModerationRule
Trait Implementations§
source§impl Clone for AutoModerationRuleDelete
impl Clone for AutoModerationRuleDelete
source§fn clone(&self) -> AutoModerationRuleDelete
fn clone(&self) -> AutoModerationRuleDelete
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AutoModerationRuleDelete
impl Debug for AutoModerationRuleDelete
source§impl Deref for AutoModerationRuleDelete
impl Deref for AutoModerationRuleDelete
source§impl DerefMut for AutoModerationRuleDelete
impl DerefMut for AutoModerationRuleDelete
source§impl<'de> Deserialize<'de> for AutoModerationRuleDelete
impl<'de> Deserialize<'de> for AutoModerationRuleDelete
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 Hash for AutoModerationRuleDelete
impl Hash for AutoModerationRuleDelete
source§impl PartialEq<AutoModerationRuleDelete> for AutoModerationRuleDelete
impl PartialEq<AutoModerationRuleDelete> for AutoModerationRuleDelete
source§fn eq(&self, other: &AutoModerationRuleDelete) -> bool
fn eq(&self, other: &AutoModerationRuleDelete) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.