shrike 0.1.6

AT Protocol library for Rust
Documentation
// Code generated by lexgen. DO NOT EDIT.

#[derive(Debug, Clone, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct ReportUnassignModeratorInput {
    /// The ID of the report to unassign.
    pub report_id: i64,
    /// Extra fields not defined in the schema.
    #[serde(flatten)]
    pub extra: std::collections::HashMap<String, serde_json::Value>,
}

/// ReportUnassignModeratorOutput is an alias.
pub type ReportUnassignModeratorOutput = crate::api::tools::ozone::ReportDefsAssignmentView;

/// ReportUnassignModerator — Remove report assignment.
pub async fn report_unassign_moderator(
    client: &crate::xrpc::Client,
    input: &ReportUnassignModeratorInput,
) -> Result<ReportUnassignModeratorOutput, crate::xrpc::Error> {
    client
        .procedure("tools.ozone.report.unassignModerator", input)
        .await
}