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-29 23:50:29 +00:00
|
|
|
|
2023-01-29 13:59:40 +00:00
|
|
|
use crate::ReportId;
|
|
|
|
|
2022-11-27 14:44:43 +00:00
|
|
|
/// A struct containing info about a report.
|
2022-12-27 18:00:10 +00:00
|
|
|
#[derive(Debug, Clone, Serialize, Deserialize, PartialEq, Eq)]
|
2022-11-27 14:44:43 +00:00
|
|
|
pub struct Report {
|
|
|
|
/// The ID of the report.
|
2023-01-09 12:54:07 +00:00
|
|
|
pub id: ReportId,
|
2022-11-27 14:44:43 +00:00
|
|
|
/// The action taken in response to the report.
|
|
|
|
pub action_taken: String,
|
|
|
|
}
|