pub struct SessionManifest {
pub session_id: SessionId,
pub schema_version: u32,
pub harness_version: String,
pub active_branch: String,
pub current_objective: String,
pub last_known_good_commit: Option<String>,
pub init_plan: Option<InitPlan>,
pub metadata: HashMap<String, String>,
}Fields§
§session_id: SessionId§schema_version: u32§harness_version: String§active_branch: String§current_objective: String§last_known_good_commit: Option<String>§init_plan: Option<InitPlan>§metadata: HashMap<String, String>Implementations§
Source§impl SessionManifest
impl SessionManifest
pub const DEFAULT_SCHEMA_VERSION: u32 = 1
pub const DEFAULT_HARNESS_VERSION: &'static str = "v0"
pub fn new( session_id: impl Into<SessionId>, active_branch: impl Into<String>, current_objective: impl Into<String>, ) -> SessionManifest
pub fn with_harness_version( self, harness_version: impl Into<String>, ) -> SessionManifest
pub fn with_schema_version(self, schema_version: u32) -> SessionManifest
Trait Implementations§
Source§impl Clone for SessionManifest
impl Clone for SessionManifest
Source§fn clone(&self) -> SessionManifest
fn clone(&self) -> SessionManifest
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 SessionManifest
impl Debug for SessionManifest
Source§impl PartialEq for SessionManifest
impl PartialEq for SessionManifest
impl Eq for SessionManifest
impl StructuralPartialEq for SessionManifest
Auto Trait Implementations§
impl Freeze for SessionManifest
impl RefUnwindSafe for SessionManifest
impl Send for SessionManifest
impl Sync for SessionManifest
impl Unpin for SessionManifest
impl UnwindSafe for SessionManifest
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.