pub struct PlanStatusDigest {
pub overall: Option<PlanStatus>,
pub counts: BTreeMap<String, usize>,
pub tasks: Vec<PlanTask>,
pub open: usize,
pub done: usize,
pub cancelled: usize,
}Expand description
Aggregated densification for a plan note body (+ optional frontmatter status).
Fields§
§overall: Option<PlanStatus>Overall plan status when detectable.
counts: BTreeMap<String, usize>Counts by status (from tasks + section bulk).
tasks: Vec<PlanTask>Individual tasks (capped).
open: usizeOpen = backlog + in_progress + qa + blocked.
done: usizeDone count.
cancelled: usizeCancelled count.
Implementations§
Source§impl PlanStatusDigest
impl PlanStatusDigest
Sourcepub fn summary_line(&self) -> String
pub fn summary_line(&self) -> String
Dense one-line summary for Node.summary / agent skimming.
Sourcepub fn fts_block(&self) -> String
pub fn fts_block(&self) -> String
Tokens appended to FTS body (information-dense, stopword-resistant).
Sourcepub fn has_signal(&self) -> bool
pub fn has_signal(&self) -> bool
True when we found any signal (worth densifying).
Trait Implementations§
Source§impl Clone for PlanStatusDigest
impl Clone for PlanStatusDigest
Source§fn clone(&self) -> PlanStatusDigest
fn clone(&self) -> PlanStatusDigest
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PlanStatusDigest
impl Debug for PlanStatusDigest
Source§impl<'de> Deserialize<'de> for PlanStatusDigest
impl<'de> Deserialize<'de> for PlanStatusDigest
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 PlanStatusDigest
Source§impl PartialEq for PlanStatusDigest
impl PartialEq for PlanStatusDigest
Source§impl Serialize for PlanStatusDigest
impl Serialize for PlanStatusDigest
impl StructuralPartialEq for PlanStatusDigest
Auto Trait Implementations§
impl Freeze for PlanStatusDigest
impl RefUnwindSafe for PlanStatusDigest
impl Send for PlanStatusDigest
impl Sync for PlanStatusDigest
impl Unpin for PlanStatusDigest
impl UnsafeUnpin for PlanStatusDigest
impl UnwindSafe for PlanStatusDigest
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§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.