pub enum ItemStatus {
Pending,
InProgress,
Done,
Deferred,
Superseded,
Waived,
}Expand description
Where an item stands. The model sets pending, in_progress, done,
deferred and superseded; only the application sets waived
(ChecklistState::waive), because only the owner can drop scope.
Stopping and succeeding are separate: deferred lets the run stop, but
a deferred item is unmet, so the run does not count as succeeded.
Variants§
Pending
InProgress
Done
Deferred
The model is not doing it in this run; needs a reason. Unmet.
Superseded
Replaced by another item (superseded_by); met only once that item
is done.
Waived
The owner dropped it from scope; set by the application only.
Trait Implementations§
Source§impl Clone for ItemStatus
impl Clone for ItemStatus
impl Copy for ItemStatus
Source§impl Debug for ItemStatus
impl Debug for ItemStatus
Source§impl<'de> Deserialize<'de> for ItemStatus
impl<'de> Deserialize<'de> for ItemStatus
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 ItemStatus
Source§impl PartialEq for ItemStatus
impl PartialEq for ItemStatus
Source§impl Serialize for ItemStatus
impl Serialize for ItemStatus
impl StructuralPartialEq for ItemStatus
Auto Trait Implementations§
impl Forget for ItemStatus
impl Freeze for ItemStatus
impl Move for ItemStatus
impl RefUnwindSafe for ItemStatus
impl Send for ItemStatus
impl Sync for ItemStatus
impl Unpin for ItemStatus
impl UnsafeUnpin for ItemStatus
impl UnwindSafe for ItemStatus
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