pub struct AutoModerationRuleCreate(pub AutoModerationRule);
Expand description
Auto moderation rule has been created.
Requires Permissions::MANAGE_GUILD
.
Tuple Fields§
§0: AutoModerationRule
Trait Implementations§
Source§impl Clone for AutoModerationRuleCreate
impl Clone for AutoModerationRuleCreate
Source§fn clone(&self) -> AutoModerationRuleCreate
fn clone(&self) -> AutoModerationRuleCreate
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 AutoModerationRuleCreate
impl Debug for AutoModerationRuleCreate
Source§impl Deref for AutoModerationRuleCreate
impl Deref for AutoModerationRuleCreate
Source§impl DerefMut for AutoModerationRuleCreate
impl DerefMut for AutoModerationRuleCreate
Source§impl<'de> Deserialize<'de> for AutoModerationRuleCreate
impl<'de> Deserialize<'de> for AutoModerationRuleCreate
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 AutoModerationRuleCreate
impl Hash for AutoModerationRuleCreate
Source§impl PartialEq for AutoModerationRuleCreate
impl PartialEq for AutoModerationRuleCreate
Source§impl Serialize for AutoModerationRuleCreate
impl Serialize for AutoModerationRuleCreate
impl Eq for AutoModerationRuleCreate
impl StructuralPartialEq for AutoModerationRuleCreate
Auto Trait Implementations§
impl Freeze for AutoModerationRuleCreate
impl RefUnwindSafe for AutoModerationRuleCreate
impl Send for AutoModerationRuleCreate
impl Sync for AutoModerationRuleCreate
impl Unpin for AutoModerationRuleCreate
impl UnwindSafe for AutoModerationRuleCreate
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