pub struct Task {
pub name: String,
pub id: [u8; 4],
pub progress: Option<Value>,
}Available on crate feature
progress only.Expand description
The value associated with a spot in the hierarchy.
Fields§
§name: StringThe 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 Freeze for Task
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