[−][src]Struct credit::Statistics
Various compiled statistics regarding contributions to a Github repository.
For the relevant fields below, an "official" response is any made by a repository Owner, an organization Member, or an invited Collaborator.
Fields
commentors: HashMap<String, usize>
All issue/PR commentors.
code_contributors: HashMap<String, usize>
All users who had PRs merged.
contributor_commits: HashMap<String, usize>
The commits-in-merged-PRs count for each user.
all_issues: usize
The count of all issues, opened or closed.
all_closed_issues: usize
How many of the issues have been closed?
issues_with_responses: usize
All issues that have been responded to in some way.
issues_with_official_responses: usize
All issues that have been responded to "officially".
issue_first_resp_time: Option<ResponseTimes>
How long does it take for someone to respond to an issue?
issue_official_first_resp_time: Option<ResponseTimes>
How long does it take for an "official" response?
all_prs: usize
The count of all PRs, opened or closed.
prs_with_responses: usize
All PRs that have been responded to in some way.
prs_with_official_responses: usize
All PRs that have been responded to officially.
pr_first_resp_time: Option<ResponseTimes>
How long does it take for someone to respond to a PR?
pr_official_first_resp_time: Option<ResponseTimes>
How long does it take for an "official" response to a PR?
prs_merged: usize
How many PRs were merged?
prs_closed_without_merging: usize
The count of all PRs which were closed with being merged.
pr_merge_time: Option<ResponseTimes>
How long does it take for PRs to be merged?
Implementations
impl Statistics
[src]
Trait Implementations
impl Debug for Statistics
[src]
impl<'de> Deserialize<'de> for Statistics
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for Statistics
[src]
Auto Trait Implementations
impl RefUnwindSafe for Statistics
impl Send for Statistics
impl Sync for Statistics
impl Unpin for Statistics
impl UnwindSafe for Statistics
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,