pub struct NewTask {
pub project_id: i64,
pub title: String,
pub body: String,
pub priority: Priority,
pub state: TaskState,
pub agent: Option<String>,
pub human: bool,
}Expand description
Initial state for a task created by a human. proposed is quick capture;
parked/ready mean the creator has already triaged their own task.
Fields§
§project_id: i64§title: String§body: String§priority: Priority§state: TaskState§agent: Option<String>§human: boolTrait Implementations§
Auto Trait Implementations§
impl Freeze for NewTask
impl RefUnwindSafe for NewTask
impl Send for NewTask
impl Sync for NewTask
impl Unpin for NewTask
impl UnsafeUnpin for NewTask
impl UnwindSafe for NewTask
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