pub struct RepoStats {
pub repo: PathBuf,
pub name: String,
pub stats: Stats,
}Fields§
§repo: PathBufThe grouping key: RunState.repo exactly as recorded, a normalised
full path. Never a display name — this is what a caller (the CLI’s
--repo fallback, the web ?repo= query) matches back against, and
matching by name would conflate two different checkouts that happen
to share a leaf directory.
name: StringDisplay name: repo’s file name, or the full path when it has none
(e.g. /). Collisions between repositories are the caller’s problem
to disambiguate (see report::repo_summary), not this struct’s.
stats: StatsThis repository’s own aggregate, counted exactly as collect
counts the whole workload.
Trait Implementations§
Auto Trait Implementations§
impl Forget for RepoStats
impl Freeze for RepoStatswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<AgentStats>: Freeze,
PhantomData<ReviewerStats>: Freeze,
PhantomData<AdvisorStats>: Freeze,
PhantomData<NodeDuration>: Freeze,
PhantomData<String>: Freeze,
impl Move for RepoStats
impl RefUnwindSafe for RepoStats
impl Send for RepoStatswhere
RawVecInner: Send,
impl Sync for RepoStatswhere
RawVecInner: Sync,
impl Unpin for RepoStats
impl UnsafeUnpin for RepoStatswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<AgentStats>: UnsafeUnpin,
PhantomData<ReviewerStats>: UnsafeUnpin,
PhantomData<AdvisorStats>: UnsafeUnpin,
PhantomData<NodeDuration>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for RepoStatswhere
RawVecInner: UnwindSafe,
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more