pub struct ScopeUsageReport {
pub total_commits: usize,
pub declared: Vec<ScopeCount>,
pub unknown: Vec<ScopeCount>,
pub unused: Vec<String>,
pub scope_less_count: usize,
}Expand description
Report produced by tally_scope_usage: how declared commit scopes
compare against a project’s scope taxonomy.
Fields§
§total_commits: usizeTotal commit subjects analyzed (including scope-less ones).
declared: Vec<ScopeCount>Every declared scope with its count, descending by count then name.
unknown: Vec<ScopeCount>The subset of declared not present in the known-scope set.
unused: Vec<String>Scopes present in unused_candidates that no subject declared.
scope_less_count: usizeCommits whose subject carries no conventional-commit scope at all.
Trait Implementations§
Source§impl Clone for ScopeUsageReport
impl Clone for ScopeUsageReport
Source§fn clone(&self) -> ScopeUsageReport
fn clone(&self) -> ScopeUsageReport
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 ScopeUsageReport
impl Debug for ScopeUsageReport
Source§impl<'de> Deserialize<'de> for ScopeUsageReport
impl<'de> Deserialize<'de> for ScopeUsageReport
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 ScopeUsageReport
Source§impl PartialEq for ScopeUsageReport
impl PartialEq for ScopeUsageReport
Source§impl Serialize for ScopeUsageReport
impl Serialize for ScopeUsageReport
impl StructuralPartialEq for ScopeUsageReport
Auto Trait Implementations§
impl Freeze for ScopeUsageReport
impl RefUnwindSafe for ScopeUsageReport
impl Send for ScopeUsageReport
impl Sync for ScopeUsageReport
impl Unpin for ScopeUsageReport
impl UnsafeUnpin for ScopeUsageReport
impl UnwindSafe for ScopeUsageReport
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,
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.