pub struct GoalSnapshotV1 {Show 17 fields
pub goal_id: String,
pub objective: String,
pub status: String,
pub started_at: String,
pub closed_at: Option<String>,
pub dismissed_at: Option<String>,
pub decomposition_state: String,
pub plan_revision: i64,
pub completion_percent: Option<i64>,
pub now: Option<String>,
pub next: Option<String>,
pub steps: Vec<GoalStepV1>,
pub verification_state: String,
pub budget_tokens: i64,
pub tokens_used: i64,
pub continuation_count: i64,
pub no_progress_count: i64,
}Expand description
Canonical goal truth shared by SSE and session hydration.
Fields§
§goal_id: String§objective: String§status: String§started_at: String§closed_at: Option<String>§dismissed_at: Option<String>§decomposition_state: String§plan_revision: i64§completion_percent: Option<i64>§now: Option<String>§next: Option<String>§steps: Vec<GoalStepV1>§verification_state: String§budget_tokens: i64§tokens_used: i64§continuation_count: i64§no_progress_count: i64Trait Implementations§
Source§impl Clone for GoalSnapshotV1
impl Clone for GoalSnapshotV1
Source§impl Debug for GoalSnapshotV1
impl Debug for GoalSnapshotV1
Source§impl<'de> Deserialize<'de> for GoalSnapshotV1
impl<'de> Deserialize<'de> for GoalSnapshotV1
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 Eq for GoalSnapshotV1
Source§impl PartialEq for GoalSnapshotV1
impl PartialEq for GoalSnapshotV1
Source§impl Serialize for GoalSnapshotV1
impl Serialize for GoalSnapshotV1
impl StructuralPartialEq for GoalSnapshotV1
Auto Trait Implementations§
impl Freeze for GoalSnapshotV1
impl RefUnwindSafe for GoalSnapshotV1
impl Send for GoalSnapshotV1
impl Sync for GoalSnapshotV1
impl Unpin for GoalSnapshotV1
impl UnsafeUnpin for GoalSnapshotV1
impl UnwindSafe for GoalSnapshotV1
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