pub struct Objective {Show 24 fields
pub objective_id: String,
pub tenant_id: String,
pub company_id: Option<String>,
pub parent_id: Option<String>,
pub title: String,
pub description: String,
pub success_criteria: Vec<String>,
pub status: ObjectiveStatus,
pub priority: ObjectivePriority,
pub assigned_agent_id: Option<String>,
pub assigned_team_id: Option<String>,
pub dependencies: Vec<String>,
pub budget: ObjectiveBudget,
pub result: Option<String>,
pub output_summary: Option<String>,
pub progress_notes: Vec<String>,
pub created_at: String,
pub updated_at: String,
pub completed_at: Option<String>,
pub commanders_intent: Option<String>,
pub roe: Option<ObjectiveRoE>,
pub decision_points: Option<Vec<ObjectiveDecisionPoint>>,
pub deadline: Option<String>,
pub abort_reason: Option<String>,
}Expand description
One unit of mission work. Sent in full by GET /missions/{missionId}/objectives and by the PATCH that edits one.
Fields§
§objective_id: String§tenant_id: String§company_id: Option<String>§parent_id: Option<String>Parent objective, or null for a root objective of the mission.
title: String§description: String§success_criteria: Vec<String>What the verifier checks before the objective counts as done.
status: ObjectiveStatusLifecycle, owned by the executor — PATCH cannot set it.
priority: ObjectivePriority§assigned_agent_id: Option<String>Agent that executes this objective. Mutually exclusive with assigned_team_id in practice.
assigned_team_id: Option<String>§dependencies: Vec<String>Objective ids that must verify first. The plan is a DAG.
budget: ObjectiveBudget§result: Option<String>§output_summary: Option<String>§progress_notes: Vec<String>§created_at: String§updated_at: String§completed_at: Option<String>§commanders_intent: Option<String>The end state to preserve when the literal instruction stops fitting.
roe: Option<ObjectiveRoE>§decision_points: Option<Vec<ObjectiveDecisionPoint>>§deadline: Option<String>§abort_reason: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Objective
impl<'de> Deserialize<'de> for Objective
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
impl StructuralPartialEq for Objective
Auto Trait Implementations§
impl Freeze for Objective
impl RefUnwindSafe for Objective
impl Send for Objective
impl Sync for Objective
impl Unpin for Objective
impl UnsafeUnpin for Objective
impl UnwindSafe for Objective
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