Enum taskchampion::Status
source · #[repr(C)]pub enum Status {
Pending,
Completed,
Deleted,
Recurring,
Unknown(String),
}
Expand description
The status of a task, as defined by the task data model.
Variants§
Pending
Completed
Deleted
Recurring
Unknown(String)
Unknown signifies a status in the task DB that was not recognized. This supports forward-compatibility if a new status is added. Tasks with unknown status should be ignored (but not deleted).
Trait Implementations§
source§impl PartialEq for Status
impl PartialEq for Status
impl Eq for Status
impl StructuralPartialEq for Status
Auto Trait Implementations§
impl Freeze for Status
impl RefUnwindSafe for Status
impl Send for Status
impl Sync for Status
impl Unpin for Status
impl UnwindSafe for Status
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<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.