Struct twilight_model::gateway::payload::incoming::AutoModerationRuleCreate
source · [−]pub struct AutoModerationRuleCreate(pub AutoModerationRule);Expand description
Auto moderation rule has been created.
Requires Permissions::MANAGE_GUILD.
Tuple Fields
0: AutoModerationRuleTrait Implementations
sourceimpl Clone for AutoModerationRuleCreate
impl Clone for AutoModerationRuleCreate
sourcefn clone(&self) -> AutoModerationRuleCreate
fn clone(&self) -> AutoModerationRuleCreate
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for AutoModerationRuleCreate
impl Debug for AutoModerationRuleCreate
sourceimpl Deref for AutoModerationRuleCreate
impl Deref for AutoModerationRuleCreate
type Target = AutoModerationRule
type Target = AutoModerationRule
The resulting type after dereferencing.
sourceimpl DerefMut for AutoModerationRuleCreate
impl DerefMut for AutoModerationRuleCreate
sourceimpl<'de> Deserialize<'de> for AutoModerationRuleCreate
impl<'de> Deserialize<'de> for AutoModerationRuleCreate
sourcefn 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
sourceimpl Hash for AutoModerationRuleCreate
impl Hash for AutoModerationRuleCreate
sourceimpl PartialEq<AutoModerationRuleCreate> for AutoModerationRuleCreate
impl PartialEq<AutoModerationRuleCreate> for AutoModerationRuleCreate
sourcefn eq(&self, other: &AutoModerationRuleCreate) -> bool
fn eq(&self, other: &AutoModerationRuleCreate) -> bool
sourceimpl Serialize for AutoModerationRuleCreate
impl Serialize for AutoModerationRuleCreate
impl Eq for AutoModerationRuleCreate
impl StructuralEq for AutoModerationRuleCreate
impl StructuralPartialEq for AutoModerationRuleCreate
Auto Trait Implementations
impl RefUnwindSafe for AutoModerationRuleCreate
impl Send for AutoModerationRuleCreate
impl Sync for AutoModerationRuleCreate
impl Unpin for AutoModerationRuleCreate
impl UnwindSafe for AutoModerationRuleCreate
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more