pub enum TaskStatus {
ToDo,
Started,
Blocked,
Done,
}
Expand description
Represents the user-assigned status of a task.
Variants§
ToDo
The user has not yet started the task.
Started
The user has started, but not completed, the task.
Blocked
The user cannot complete the task due to external circumstances.
Done
The user has completed the task.
Implementations§
Source§impl TaskStatus
impl TaskStatus
Sourcepub fn display_name(&self) -> &str
pub fn display_name(&self) -> &str
Return a human-readable name for the task status.
Trait Implementations§
Source§impl Clone for TaskStatus
impl Clone for TaskStatus
Source§fn clone(&self) -> TaskStatus
fn clone(&self) -> TaskStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for TaskStatus
impl Debug for TaskStatus
Source§impl PartialEq for TaskStatus
impl PartialEq for TaskStatus
impl Copy for TaskStatus
impl Eq for TaskStatus
impl StructuralPartialEq for TaskStatus
Auto Trait Implementations§
impl Freeze for TaskStatus
impl RefUnwindSafe for TaskStatus
impl Send for TaskStatus
impl Sync for TaskStatus
impl Unpin for TaskStatus
impl UnwindSafe for TaskStatus
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