pub struct Task {
pub name: String,
pub id: [u8; 4],
pub progress: Option<Value>,
}
Expand description
The value associated with a spot in the hierarchy.
Fields§
§name: String
The name of the Item
or task.
id: [u8; 4]
The stable identifier of this task. Useful for selecting specific tasks out of a set of them.
progress: Option<Value>
The progress itself, unless this value belongs to an Item
serving as organizational unit.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl !UnwindSafe for Task
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