pub enum ReversalStatus {
Unknown,
NotReversed,
Reversed {
at: DateTime<Utc>,
by_appeal: AppealId,
},
}Expand description
Whether a moderation action was reversed on appeal.
Modelled as a three-state enum rather than an Option<DateTime>
because “we don’t know” and “it stands” must not be the same value. An
appeal that overturned an action, rendered to a later reviewer as
though the action still stands, is prejudicial in exactly the way
GOV-2026-0005 forbids — and an Option read as None says “not
reversed” with total confidence and no evidence.
Variants§
Unknown
The pipeline cannot determine reversal status. Not evidence that the action stands.
NotReversed
The action was not reversed.
Reversed
The action was reversed on appeal.
Implementations§
Source§impl ReversalStatus
impl ReversalStatus
Sourcepub fn known_standing(&self) -> bool
pub fn known_standing(&self) -> bool
True only when we affirmatively know the action still stands.
Unknown returns false: a reviewer weighing an
agent’s record should not count an action whose status we cannot
establish.
Trait Implementations§
Source§impl Clone for ReversalStatus
impl Clone for ReversalStatus
Source§fn clone(&self) -> ReversalStatus
fn clone(&self) -> ReversalStatus
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more