pub struct Task {Show 23 fields
pub id: String,
pub title: String,
pub body: Option<String>,
pub assignee: Option<String>,
pub machine: Option<String>,
pub subtask_of: Option<String>,
pub lane: Lane,
pub priority: i64,
pub tenant: Option<String>,
pub idempotency_key: Option<String>,
pub workspace: Workspace,
pub skills: Vec<String>,
pub model: Option<String>,
pub provider: Option<String>,
pub created_by: Option<String>,
pub created_at: Option<String>,
pub started_at: Option<String>,
pub completed_at: Option<String>,
pub result: Option<String>,
pub attempts: Vec<Attempt>,
pub reviews: Vec<Review>,
pub comments: Vec<Comment>,
pub residue: Residue,
}Expand description
One task on a board.
Fields§
§id: StringThe id (the board’s own token).
title: StringThe title.
body: Option<String>The body: the brief, and the acceptance where the board treats it as such.
assignee: Option<String>The profile that works it.
machine: Option<String>The enrolled machine its session runs on.
subtask_of: Option<String>The arc this card is a subtask of: worked by the arc’s session, never started on its own.
lane: LaneWhere it stands.
priority: i64Higher first.
tenant: Option<String>A namespace within the board.
idempotency_key: Option<String>The key automation filed it under, so a retry finds it instead of duplicating it.
workspace: WorkspaceWhere it is worked.
skills: Vec<String>Skills pinned to it beyond the assignee’s own.
model: Option<String>Model override.
provider: Option<String>Provider override.
created_by: Option<String>Who filed it (a profile, or a human).
created_at: Option<String>Filed, RFC3339.
started_at: Option<String>First claimed, RFC3339.
completed_at: Option<String>Done, RFC3339.
result: Option<String>The result recorded on completion, in the board’s words.
attempts: Vec<Attempt>Every run at it, oldest first.
reviews: Vec<Review>Every review step, oldest first.
comments: Vec<Comment>The thread, oldest first.
residue: ResidueSource fields the record does not model, verbatim.
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>,
Source§impl JsonSchema for Task
impl JsonSchema for Task
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read more