pub struct StateSnapshot {
pub codebase_state: Option<String>,
pub memory_state: Option<String>,
pub active_deadlines: Vec<TemporalId>,
pub active_schedules: Vec<TemporalId>,
pub active_sequences: Vec<TemporalId>,
pub decay_values: Vec<(TemporalId, f64)>,
pub mental_model: Option<String>,
pub checksum: String,
}Expand description
A captured state snapshot at an anchor point.
Fields§
§codebase_state: Option<String>Codebase understanding at this point.
memory_state: Option<String>Memory/decisions at this point.
active_deadlines: Vec<TemporalId>Active temporal entity IDs.
active_schedules: Vec<TemporalId>Active schedule IDs.
active_sequences: Vec<TemporalId>Active sequence IDs.
decay_values: Vec<(TemporalId, f64)>Decay model values at snapshot time.
mental_model: Option<String>User’s mental model description.
checksum: StringIntegrity checksum.
Trait Implementations§
Source§impl Clone for StateSnapshot
impl Clone for StateSnapshot
Source§fn clone(&self) -> StateSnapshot
fn clone(&self) -> StateSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StateSnapshot
impl Debug for StateSnapshot
Source§impl<'de> Deserialize<'de> for StateSnapshot
impl<'de> Deserialize<'de> for StateSnapshot
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
Auto Trait Implementations§
impl Freeze for StateSnapshot
impl RefUnwindSafe for StateSnapshot
impl Send for StateSnapshot
impl Sync for StateSnapshot
impl Unpin for StateSnapshot
impl UnsafeUnpin for StateSnapshot
impl UnwindSafe for StateSnapshot
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