mastodon-async/entities/src/report.rs

13 lines
370 B
Rust
Raw Normal View History

2022-11-27 14:44:43 +00:00
//! module containing information about a finished report of a user.
2022-12-07 20:58:28 +00:00
use serde::{Deserialize, Serialize};
2022-11-27 14:44:43 +00:00
/// A struct containing info about a report.
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
2022-11-27 14:44:43 +00:00
pub struct Report {
/// The ID of the report.
pub id: String,
/// The action taken in response to the report.
pub action_taken: String,
}