pub struct AutoModerationActionApiType {
pub type_: AutoModerationActionType,
pub metadata: Option<Value>,
}Expand description
Fields§
§type_: AutoModerationActionTypethe type of action
metadata: Option<Value>additional metadata needed during execution for this specific action type
Trait Implementations§
Source§impl Clone for AutoModerationActionApiType
impl Clone for AutoModerationActionApiType
Source§fn clone(&self) -> AutoModerationActionApiType
fn clone(&self) -> AutoModerationActionApiType
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 AutoModerationActionApiType
impl Debug for AutoModerationActionApiType
Source§impl<'de> Deserialize<'de> for AutoModerationActionApiType
impl<'de> Deserialize<'de> for AutoModerationActionApiType
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
Auto Trait Implementations§
impl Freeze for AutoModerationActionApiType
impl RefUnwindSafe for AutoModerationActionApiType
impl Send for AutoModerationActionApiType
impl Sync for AutoModerationActionApiType
impl Unpin for AutoModerationActionApiType
impl UnwindSafe for AutoModerationActionApiType
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