pub struct CommitIntentCounts {}Expand description
Counts per intent kind.
Fields§
§feat: usize§fix: usize§refactor: usize§docs: usize§test: usize§chore: usize§ci: usize§build: usize§perf: usize§style: usize§revert: usize§other: usize§total: usizeImplementations§
Source§impl CommitIntentCounts
impl CommitIntentCounts
Sourcepub fn increment(&mut self, kind: CommitIntentKind)
pub fn increment(&mut self, kind: CommitIntentKind)
Increment the count for a given intent kind.
Trait Implementations§
Source§impl Clone for CommitIntentCounts
impl Clone for CommitIntentCounts
Source§fn clone(&self) -> CommitIntentCounts
fn clone(&self) -> CommitIntentCounts
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 CommitIntentCounts
impl Debug for CommitIntentCounts
Source§impl Default for CommitIntentCounts
impl Default for CommitIntentCounts
Source§fn default() -> CommitIntentCounts
fn default() -> CommitIntentCounts
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CommitIntentCounts
impl<'de> Deserialize<'de> for CommitIntentCounts
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
Auto Trait Implementations§
impl Freeze for CommitIntentCounts
impl RefUnwindSafe for CommitIntentCounts
impl Send for CommitIntentCounts
impl Sync for CommitIntentCounts
impl Unpin for CommitIntentCounts
impl UnsafeUnpin for CommitIntentCounts
impl UnwindSafe for CommitIntentCounts
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