pub struct Task {Show 21 fields
pub id: String,
pub title: String,
pub body: Option<String>,
pub assignee: 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.
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl JsonSchema for Task
impl JsonSchema for Task
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreimpl StructuralPartialEq for Task
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