#[non_exhaustive]pub struct Task {}Expand description
13a (13.1): one task.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.id: UlidThe record’s id.
slug: StringIts name.
title: StringOne line.
body: StringThe body (may be empty).
role: Option<String>The role that may take it.
status: Stringqueued, active, ready, done or blocked.
owner: Option<String>The agent that took it.
creator: StringThe agent that added it.
after: Vec<String>The slugs it waits for.
pre_approved: boolWhether its owner may set done.
refs: Vec<String>v0.18.1: what it’s about (_mnemo.refs); empty when it names none.
created_at: i64When it was added, in unix seconds.
history: Vec<Value>Its status changes and notes, oldest first (from, to, at,
by, and note or reclaimed_from when there’s one).
Implementations§
Trait Implementations§
impl StructuralPartialEq for Task
Auto Trait Implementations§
impl Forget for Task
impl Freeze for Task
impl Move for Task
impl RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnsafeUnpin 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