mastodon-async/entities/src/report.rs

13 lines
370 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, Eq)]
pub struct Report {
/// The ID of the report.
pub id: String,
/// The action taken in response to the report.
pub action_taken: String,
}