pub struct HistoricalStatsData {
pub action_rate: Option<i64>,
pub actioned_count: Option<i64>,
pub avg_handling_time_sec: Option<i64>,
pub computed_at: Option<Datetime>,
pub date: String,
pub escalated_count: Option<i64>,
pub inbound_count: Option<i64>,
pub pending_count: Option<i64>,
}Available on crate feature
namespace-toolsozone only.Expand description
A single daily snapshot of report statistics for a calendar date.
Fields§
§action_rate: Option<i64>Percentage of reports actioned (actionedCount / inboundCount * 100), rounded to nearest integer.
actioned_count: Option<i64>Number of reports closed during this day.
avg_handling_time_sec: Option<i64>Average time in seconds from report creation (or moderator assignment) to close.
computed_at: Option<Datetime>When this snapshot was last computed.
date: StringThe calendar date this snapshot covers (YYYY-MM-DD).
escalated_count: Option<i64>Number of reports escalated during this day.
inbound_count: Option<i64>Reports received during this day.
pending_count: Option<i64>Number of reports not closed at time of computation.
Trait Implementations§
Source§impl Clone for HistoricalStatsData
impl Clone for HistoricalStatsData
Source§impl Debug for HistoricalStatsData
impl Debug for HistoricalStatsData
Source§impl<'de> Deserialize<'de> for HistoricalStatsData
impl<'de> Deserialize<'de> for HistoricalStatsData
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for HistoricalStatsData
Source§impl PartialEq for HistoricalStatsData
impl PartialEq for HistoricalStatsData
Source§impl Serialize for HistoricalStatsData
impl Serialize for HistoricalStatsData
impl StructuralPartialEq for HistoricalStatsData
Auto Trait Implementations§
impl Freeze for HistoricalStatsData
impl RefUnwindSafe for HistoricalStatsData
impl Send for HistoricalStatsData
impl Sync for HistoricalStatsData
impl Unpin for HistoricalStatsData
impl UnsafeUnpin for HistoricalStatsData
impl UnwindSafe for HistoricalStatsData
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
Mutably borrows from an owned value. Read more
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
Compare self to
key and return true if they are equal.