pub struct BumpSummary {
pub feat_count: usize,
pub fix_count: usize,
pub breaking_count: usize,
pub other_count: usize,
}Expand description
Summary of analysed commits for display purposes.
Counts commits by category. A single commit may increment both
breaking_count and its type count (e.g. a breaking feat increments
both feat_count and breaking_count).
Fields§
§feat_count: usizeCount of feat commits.
fix_count: usizeCount of fix commits.
breaking_count: usizeCount of commits with breaking changes.
other_count: usizeCount of other conventional commits (perf, refactor, etc.).
Trait Implementations§
Source§impl Debug for BumpSummary
impl Debug for BumpSummary
Source§impl Default for BumpSummary
impl Default for BumpSummary
Source§fn default() -> BumpSummary
fn default() -> BumpSummary
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BumpSummary
impl RefUnwindSafe for BumpSummary
impl Send for BumpSummary
impl Sync for BumpSummary
impl Unpin for BumpSummary
impl UnsafeUnpin for BumpSummary
impl UnwindSafe for BumpSummary
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