pub struct GhCounts {
pub by_category: BTreeMap<Category, u64>,
pub by_subcommand: BTreeMap<String, u64>,
pub by_source: BTreeMap<Source, u64>,
}Expand description
Tallies of gh invocations over a time window, broken down three ways.
Fields§
§by_category: BTreeMap<Category, u64>Count per category (api / subcommand / local).
by_subcommand: BTreeMap<String, u64>Count per semantic subcommand ("api graphql", "pr list", …).
by_source: BTreeMap<Source, u64>Count per originating source (cli / daemon / mcp).
Implementations§
Trait Implementations§
impl Eq for GhCounts
impl StructuralPartialEq for GhCounts
Auto Trait Implementations§
impl Freeze for GhCounts
impl RefUnwindSafe for GhCounts
impl Send for GhCounts
impl Sync for GhCounts
impl Unpin for GhCounts
impl UnsafeUnpin for GhCounts
impl UnwindSafe for GhCounts
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.