pub struct Input {
pub mod_tool: Option<ModTool>,
pub reason: Option<String>,
pub reason_type: ReasonType,
pub subject: Value,
}Expand description
Submit a moderation report regarding an atproto account or record. Implemented by moderation services (with PDS proxying), and requires auth. XRPC Procedure: com.atproto.moderation.createReport
Fields§
§mod_tool: Option<ModTool>§reason: Option<String>§reason_type: ReasonType§subject: ValueTrait Implementations§
Source§impl<'de> Deserialize<'de> for Input
impl<'de> Deserialize<'de> for Input
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 Input
impl RefUnwindSafe for Input
impl Send for Input
impl Sync for Input
impl Unpin for Input
impl UnsafeUnpin for Input
impl UnwindSafe for Input
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