pub struct Task {Show 26 fields
pub id: String,
pub project_id: String,
pub title: String,
pub description: Option<String>,
pub status: String,
pub priority: String,
pub assignee_type: Option<String>,
pub assignee_id: Option<String>,
pub context: Option<Value>,
pub output: Option<Value>,
pub tags: Vec<String>,
pub due_date: Option<String>,
pub reviewer_type: Option<String>,
pub reviewer_id: Option<String>,
pub status_history: Vec<StatusHistoryEntry>,
pub artifacts: Vec<TaskArtifact>,
pub scheduled_at: Option<String>,
pub recurrence_rule: Option<Value>,
pub recurrence_parent_id: Option<String>,
pub dependencies: Vec<String>,
pub has_open_questions: bool,
pub started_review_at: Option<String>,
pub created_by: String,
pub created_at: String,
pub updated_at: String,
pub activities: Vec<TaskActivity>,
}Fields§
§id: String§project_id: String§title: String§description: Option<String>§status: String§priority: String§assignee_type: Option<String>§assignee_id: Option<String>§context: Option<Value>§output: Option<Value>§due_date: Option<String>§reviewer_type: Option<String>§reviewer_id: Option<String>§status_history: Vec<StatusHistoryEntry>§artifacts: Vec<TaskArtifact>§scheduled_at: Option<String>ISO8601 datetime: task stays in backlog until this passes
recurrence_rule: Option<Value>JSON recurrence rule: {frequency, interval, cron, …}
recurrence_parent_id: Option<String>Points to the original recurring task (parent)
dependencies: Vec<String>IDs of tasks this task depends on (loaded from task_dependencies)
has_open_questions: boolTrue if this task has blocking open questions
started_review_at: Option<String>ISO8601 timestamp: when the reviewer started reviewing this task
created_by: String§created_at: String§updated_at: String§activities: Vec<TaskActivity>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Task
impl<'de> Deserialize<'de> for Task
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze 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