steam_user/types/reports.rs
1use serde::{Deserialize, Serialize};
2use steamid::SteamID;
3
4/// Represents a player report.
5#[derive(Debug, Clone, PartialEq, Serialize, Deserialize)]
6pub struct PlayerReport {
7 /// The ID of the report.
8 pub report_id: String,
9 /// The SteamID of the reported player.
10 pub reported_steam_id: Option<SteamID>,
11 /// The name of the reported player.
12 pub reported_player_name: String,
13 /// The date the report was submitted.
14 pub date: String,
15 /// The reason/category of the report.
16 pub reason: String,
17 /// Additional description provided in the report.
18 pub description: String,
19}