pub struct ProjectStats {
pub by_state: HashMap<String, usize>,
pub by_kind: HashMap<String, usize>,
pub by_urgency: HashMap<String, usize>,
pub events_by_type: HashMap<String, usize>,
pub events_by_agent: HashMap<String, usize>,
}Expand description
Aggregate counters for project-level stats used by reporting commands.
Fields§
§by_state: HashMap<String, usize>Open items by state (excluding deleted).
by_kind: HashMap<String, usize>Open items by kind (excluding deleted).
by_urgency: HashMap<String, usize>Open items by urgency (excluding deleted).
events_by_type: HashMap<String, usize>Events by type from the projected event tracker (empty when unavailable).
events_by_agent: HashMap<String, usize>Events by agent from the projected event tracker (empty when unavailable).
Trait Implementations§
Source§impl Clone for ProjectStats
impl Clone for ProjectStats
Source§fn clone(&self) -> ProjectStats
fn clone(&self) -> ProjectStats
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 ProjectStats
impl Debug for ProjectStats
Source§impl PartialEq for ProjectStats
impl PartialEq for ProjectStats
impl Eq for ProjectStats
impl StructuralPartialEq for ProjectStats
Auto Trait Implementations§
impl Freeze for ProjectStats
impl RefUnwindSafe for ProjectStats
impl Send for ProjectStats
impl Sync for ProjectStats
impl Unpin for ProjectStats
impl UnsafeUnpin for ProjectStats
impl UnwindSafe for ProjectStats
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§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.