pub struct ModTool {
pub meta: Option<Value>,
pub name: String,
}Expand description
Moderation tool information for tracing the source of the action
Fields§
§meta: Option<Value>§name: StringTrait Implementations§
Source§impl<'de> Deserialize<'de> for ModTool
impl<'de> Deserialize<'de> for ModTool
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 ModTool
impl RefUnwindSafe for ModTool
impl Send for ModTool
impl Sync for ModTool
impl Unpin for ModTool
impl UnsafeUnpin for ModTool
impl UnwindSafe for ModTool
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