shrike 0.1.6

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

#[derive(Debug, Clone, Default, serde::Serialize, serde::Deserialize)]
#[serde(rename_all = "camelCase")]
pub struct ReportGetReportParams {
    /// The ID of the report to retrieve.
    pub id: i64,
}

/// ReportGetReportOutput is an alias.
pub type ReportGetReportOutput = crate::api::tools::ozone::ReportDefsReportView;

/// ReportGetReport — Get details about a single moderation report by ID.
pub async fn report_get_report(
    client: &crate::xrpc::Client,
    params: &ReportGetReportParams,
) -> Result<ReportGetReportOutput, crate::xrpc::Error> {
    client.query("tools.ozone.report.getReport", params).await
}