pub struct ReportViewData {Show 20 fields
pub action_event_ids: Option<Vec<i64>>,
pub action_note: Option<String>,
pub actions: Option<Vec<ModEventView>>,
pub assignment: Option<ReportAssignment>,
pub comment: Option<String>,
pub created_at: Datetime,
pub event_id: i64,
pub id: i64,
pub is_automated: Option<bool>,
pub is_muted: Option<bool>,
pub queue: Option<QueueView>,
pub queued_at: Option<Datetime>,
pub related_report_count: Option<i64>,
pub report_type: ReasonType,
pub reported_by: Did,
pub reporter: SubjectView,
pub status: String,
pub subject: SubjectView,
pub subject_status: Option<SubjectStatusView>,
pub updated_at: Option<Datetime>,
}namespace-toolsozone only.Fields§
§action_event_ids: Option<Vec<i64>>Array of moderation event IDs representing actions taken on this report (sorted DESC, most recent first)
action_note: Option<String>Note sent to reporter when report was actioned
actions: Option<Vec<ModEventView>>Optional: expanded action events
assignment: Option<ReportAssignment>Information about moderator currently assigned to this report (if any)
comment: Option<String>Comment provided by the reporter
created_at: DatetimeWhen the report was created
event_id: i64ID of the moderation event that created this report
id: i64Report ID
is_automated: Option<bool>Whether this report was emitted by automated tooling.
is_muted: Option<bool>Whether this report is muted. A report is muted if the reporter was muted or the subject was muted at the time the report was created.
queue: Option<QueueView>The queue this report is assigned to (if any)
queued_at: Option<Datetime>When the report was assigned to its current queue
Number of other pending reports on the same subject
report_type: ReasonTypeType of report
reported_by: DidDID of the user who made the report
reporter: SubjectViewFull subject view of the reporter account
status: StringCurrent status of the report
subject: SubjectViewThe subject that was reported with full details
subject_status: Option<SubjectStatusView>Current status of the reported subject
updated_at: Option<Datetime>When the report was last updated
Trait Implementations§
Source§impl Clone for ReportViewData
impl Clone for ReportViewData
Source§impl Debug for ReportViewData
impl Debug for ReportViewData
Source§impl<'de> Deserialize<'de> for ReportViewData
impl<'de> Deserialize<'de> for ReportViewData
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl Eq for ReportViewData
Source§impl PartialEq for ReportViewData
impl PartialEq for ReportViewData
Source§impl Serialize for ReportViewData
impl Serialize for ReportViewData
impl StructuralPartialEq for ReportViewData
Auto Trait Implementations§
impl Freeze for ReportViewData
impl RefUnwindSafe for ReportViewData
impl Send for ReportViewData
impl Sync for ReportViewData
impl Unpin for ReportViewData
impl UnsafeUnpin for ReportViewData
impl UnwindSafe for ReportViewData
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.