pub struct Continuity {
pub present: bool,
pub worktree: String,
pub branch: String,
pub head: String,
pub working_tree: String,
pub session: Option<OpenSession>,
pub task: Option<ActiveTask>,
pub handover: Option<Record>,
pub checkpoint: Option<Record>,
pub blockers: Vec<String>,
pub tallies: BTreeMap<String, usize>,
pub findings: Vec<String>,
}Expand description
What the lifecycle of this checkout is holding.
Fields§
§present: boolWhether this checkout’s lifecycle has ever run: a ledger line, a task, an episode or a record. False in a fresh clone, which is not a fault.
It is not “the directory exists”. Several things create that directory before anything has been recorded in it, so a reader that took its presence for evidence would be told the lifecycle had run in a checkout where it never had.
worktree: StringThe worktree this answer is about. Every selection below is scoped to it.
branch: StringThe branch, or DETACHED.
head: StringThe commit this checkout is on.
working_tree: Stringclean or dirty.
session: Option<OpenSession>The open episode, or None.
task: Option<ActiveTask>The active task, or None.
handover: Option<Record>The record the next worker would resume from, or None when nothing resolves here.
checkpoint: Option<Record>The newest progress note for this worktree and branch, or None.
blockers: Vec<String>Unresolved questions on this branch. Every one refuses finish --outcome completed,
whichever task opened it.
tallies: BTreeMap<String, usize>How many records of each kind this checkout holds, against the policy’s caps.
findings: Vec<String>What a reader should know before trusting any of the above: a diverged record, a foreign open session, a malformed file that was skipped. Empty is the good case.
Trait Implementations§
Source§impl Clone for Continuity
impl Clone for Continuity
Source§fn clone(&self) -> Continuity
fn clone(&self) -> Continuity
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Continuity
impl Debug for Continuity
Source§impl<'de> Deserialize<'de> for Continuity
impl<'de> Deserialize<'de> for Continuity
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>,
impl Eq for Continuity
Source§impl JsonSchema for Continuity
impl JsonSchema for Continuity
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
$ref keyword. Read moreSource§impl PartialEq for Continuity
impl PartialEq for Continuity
Source§fn eq(&self, other: &Continuity) -> bool
fn eq(&self, other: &Continuity) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for Continuity
impl Serialize for Continuity
impl StructuralPartialEq for Continuity
Auto Trait Implementations§
impl Freeze for Continuity
impl RefUnwindSafe for Continuity
impl Send for Continuity
impl Sync for Continuity
impl Unpin for Continuity
impl UnsafeUnpin for Continuity
impl UnwindSafe for Continuity
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
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>,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.