pub struct AutoModerationRuleCreate {
pub rule: AutoModerationRule,
}Expand description
Fields§
§rule: AutoModerationRuleTrait Implementations§
Source§impl Clone for AutoModerationRuleCreate
impl Clone for AutoModerationRuleCreate
Source§fn clone(&self) -> AutoModerationRuleCreate
fn clone(&self) -> AutoModerationRuleCreate
Returns a duplicate 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 Default for AutoModerationRuleCreate
impl Default for AutoModerationRuleCreate
Source§fn default() -> AutoModerationRuleCreate
fn default() -> AutoModerationRuleCreate
Returns the “default value” for a type. Read more
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 Serialize for AutoModerationRuleCreate
impl Serialize for AutoModerationRuleCreate
impl WebSocketEvent 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