pub enum RecStatus {
Pending,
Approved,
Rejected,
Applied,
RolledBack,
Expired,
Withdrawn,
}Expand description
Lifecycle status — a rebuildable index-layer cache (the recommendation’s content hash is stable for its whole life).
Variants§
Pending
Approved
Rejected
Applied
RolledBack
Expired
Withdrawn
The engine withdrew it: every grain it cited has moved (#317).
Distinct from Expired, which says “time ran out”, and from
Rejected, which is a human decision. A reviewer was being offered —
and could approve — findings whose entire evidence had been
superseded by a different value or retracted, and applying one then
produced a recommendation to revert it on the next pass.
Reachable from Pending and Approved, by the ENGINE only.
Implementations§
Trait Implementations§
impl Copy for RecStatus
Source§impl<'de> Deserialize<'de> for RecStatus
impl<'de> Deserialize<'de> for RecStatus
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 RecStatus
impl StructuralPartialEq for RecStatus
Auto Trait Implementations§
impl Freeze for RecStatus
impl RefUnwindSafe for RecStatus
impl Send for RecStatus
impl Sync for RecStatus
impl Unpin for RecStatus
impl UnsafeUnpin for RecStatus
impl UnwindSafe for RecStatus
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