Struct command::object::Report
zaun_community_protocol::command::object::Report · Struct
pub struct Report { … }A report. Only for MANAGE_REPORTS holders and, without other reporters’ data,
the reporter.
Fields
Section titled “Fields”report_id: ReportId
Section titled “report_id: ReportId”Host-assigned id.
category: ReportCategory
Section titled “category: ReportCategory”The category.
description: Option<String>
Section titled “description: Option<String>”≤ 2 000 scalars.
target: ReportTarget
Section titled “target: ReportTarget”The reported member or message.
evidence: Vec<Evidence>
Section titled “evidence: Vec<Evidence>”Host snapshots of the selected messages.
evidence_next: Option<u32>
Section titled “evidence_next: Option<u32>”Some snapshots were left out to keep the report within a frame (items with
omitted: true): report.get with evidence_from set to this index returns them.
reporter_id: MemberId
Section titled “reporter_id: MemberId”The reporter.
status: ReportStatus
Section titled “status: ReportStatus”Workflow status.
resolution: Option<Resolution>
Section titled “resolution: Option<Resolution>”Set once resolved.
created_at: u64
Section titled “created_at: u64”Creation time, ms.
Trait implementations
Section titled “Trait implementations”Clone, Debug, Deserialize<'de>, Eq, PartialEq, Serialize, StructuralPartialEq