pub struct Goal {Show 14 fields
pub goal_id: String,
pub tenant_id: String,
pub agent_id: String,
pub title: Option<String>,
pub description: Option<String>,
pub rationale: Option<String>,
pub alignment_justification: Option<String>,
pub expected_impact: Option<String>,
pub resource_estimate_usd: Option<f64>,
pub status: GoalStatus,
pub proposal_id: Option<String>,
pub constitution_check_passed: Option<bool>,
pub created_at: String,
pub updated_at: Option<String>,
}Expand description
Goal model.
Fields§
§goal_id: String§tenant_id: String§agent_id: String§title: Option<String>§description: Option<String>§rationale: Option<String>§alignment_justification: Option<String>How the goal squares with the constitution — written by the formulating agent.
expected_impact: Option<String>§resource_estimate_usd: Option<f64>§status: GoalStatus§proposal_id: Option<String>Set once the goal reaches a vote. Absent before that.
constitution_check_passed: Option<bool>§created_at: String§updated_at: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Goal
impl<'de> Deserialize<'de> for Goal
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 Goal
Auto Trait Implementations§
impl Freeze for Goal
impl RefUnwindSafe for Goal
impl Send for Goal
impl Sync for Goal
impl Unpin for Goal
impl UnsafeUnpin for Goal
impl UnwindSafe for Goal
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