pub struct ActiveTask {Show 15 fields
pub id: String,
pub task: String,
pub profile: String,
pub outcome: String,
pub scope: Vec<String>,
pub requires: Vec<String>,
pub started_at: String,
pub head: String,
pub issue: String,
pub intent: String,
pub exemption: String,
pub exemption_because: String,
pub binding: String,
pub plan_revision: String,
pub evidence_standing: String,
}Expand description
The active task of this checkout, when there is one.
Fields§
§id: StringThe task id.
task: StringWhat is being worked on.
profile: StringThe execution profile it runs under.
outcome: StringIts typed outcome so far: active, handed_over, or a finished one.
scope: Vec<String>The paths it claims.
requires: Vec<String>The obligations it owes before the outcome completed is available.
Beside scope and not inside it, because the two are different promises: scope is
containment — where a worker may write — and this is delivery. A change can sit
entirely inside its scope and still be uncommitted on a laptop (ADR 0030).
super::obligations is what judges each of these against its evidence; here it
is reported as declared.
started_at: StringWhen it started.
head: StringThe commit it started at.
issue: StringThe issue the worker said this task executes (start --issue). A name, never state:
what it serves is answered by intents.binding on every read (ADR 0111).
intent: StringThe intent the worker said this task serves (start --intent).
exemption: StringThe exemption class the worker gave instead (start --exempt).
exemption_because: StringThe reason given with the exemption.
binding: StringThe standing intents.binding answered when the task started — what start was
told then, not where the work stands now.
plan_revision: StringThe pin of what the work was for when the task started.
evidence_standing: StringThe pin of where the served criteria’s evidence stood when the task started.
Trait Implementations§
Source§impl Clone for ActiveTask
impl Clone for ActiveTask
Source§fn clone(&self) -> ActiveTask
fn clone(&self) -> ActiveTask
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ActiveTask
impl Debug for ActiveTask
Source§impl<'de> Deserialize<'de> for ActiveTask
impl<'de> Deserialize<'de> for ActiveTask
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>,
impl Eq for ActiveTask
Source§impl JsonSchema for ActiveTask
impl JsonSchema for ActiveTask
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 moreSource§impl PartialEq for ActiveTask
impl PartialEq for ActiveTask
Source§fn eq(&self, other: &ActiveTask) -> bool
fn eq(&self, other: &ActiveTask) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for ActiveTask
impl Serialize for ActiveTask
impl StructuralPartialEq for ActiveTask
Auto Trait Implementations§
impl Freeze for ActiveTask
impl RefUnwindSafe for ActiveTask
impl Send for ActiveTask
impl Sync for ActiveTask
impl Unpin for ActiveTask
impl UnsafeUnpin for ActiveTask
impl UnwindSafe for ActiveTask
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.