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 ==
.source§impl Serialize for AutoModerationRuleDelete
impl Serialize for AutoModerationRuleDelete
impl Eq for AutoModerationRuleDelete
impl StructuralEq for AutoModerationRuleDelete
impl StructuralPartialEq for AutoModerationRuleDelete
Auto Trait Implementations§
impl RefUnwindSafe for AutoModerationRuleDelete
impl Send for AutoModerationRuleDelete
impl Sync for AutoModerationRuleDelete
impl Unpin for AutoModerationRuleDelete
impl UnwindSafe for AutoModerationRuleDelete
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