pub struct SessionCheckpoint {
pub intent: String,
pub next_action: String,
pub constraints: String,
pub task_tree: String,
pub current_work: String,
pub involved_files: String,
pub discoveries: String,
pub errors_fixes: String,
pub runtime_state: String,
pub decisions: String,
pub misc: String,
}Expand description
Represents the structured working state of the current session.
Fields§
§intent: String§next_action: String§constraints: String§task_tree: String§current_work: String§involved_files: String§discoveries: String§errors_fixes: String§runtime_state: String§decisions: String§misc: StringImplementations§
Source§impl SessionCheckpoint
impl SessionCheckpoint
Sourcepub fn from_markdown(text: &str) -> Self
pub fn from_markdown(text: &str) -> Self
Parses a SessionCheckpoint from its Markdown string representation.
Sourcepub fn to_markdown(&self) -> String
pub fn to_markdown(&self) -> String
Renders the checkpoint to its standard Markdown format.
Trait Implementations§
Source§impl Clone for SessionCheckpoint
impl Clone for SessionCheckpoint
Source§impl Debug for SessionCheckpoint
impl Debug for SessionCheckpoint
Source§impl Default for SessionCheckpoint
impl Default for SessionCheckpoint
Source§impl<'de> Deserialize<'de> for SessionCheckpoint
impl<'de> Deserialize<'de> for SessionCheckpoint
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 SessionCheckpoint
Source§impl PartialEq for SessionCheckpoint
impl PartialEq for SessionCheckpoint
Source§impl Serialize for SessionCheckpoint
impl Serialize for SessionCheckpoint
impl StructuralPartialEq for SessionCheckpoint
Auto Trait Implementations§
impl Freeze for SessionCheckpoint
impl RefUnwindSafe for SessionCheckpoint
impl Send for SessionCheckpoint
impl Sync for SessionCheckpoint
impl Unpin for SessionCheckpoint
impl UnsafeUnpin for SessionCheckpoint
impl UnwindSafe for SessionCheckpoint
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more