pub struct DueAxis {
pub date_field: String,
pub status_field: String,
pub open_values: Vec<String>,
pub lead_section: Option<String>,
}Expand description
A type’s declared due axis (first-author-path plan 08): which
of its fields carry deadline semantics, so the engine’s due-brief
(memstead due) can render “what is due next” without knowing any
domain vocabulary. Validated at schema load: date_field must be
a date-typed metadata field of the type, status_field an
enum-typed one, every open_values entry a member of that enum,
and lead_section (optional — rendered as “what must happen
first”) a declared section key. The axis is rendering-only: it
never enforces anything (constraints own enforcement) and the
engine never advances a date (the agent loop is the runtime).
Fields§
§date_field: StringDate-typed metadata field holding the deadline.
status_field: StringEnum-typed metadata field holding the lifecycle status.
open_values: Vec<String>The status_field values under which the entity counts as
still open (due-relevant). Every entry must be declared in the
field’s enum_values.
lead_section: Option<String>Optional section key whose content renders with each entry as “what must happen first”.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DueAxis
impl<'de> Deserialize<'de> for DueAxis
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 DueAxis
impl JsonSchema for DueAxis
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