mastodon-async/src/entities/report.rs

13 lines
366 B
Rust

//! module containing information about a finished report of a user.
use serde::{Deserialize, Serialize};
/// A struct containing info about a report.
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq)]
pub struct Report {
/// The ID of the report.
pub id: String,
/// The action taken in response to the report.
pub action_taken: String,
}