pub enum ChangelogHeading {
Breaking,
Added,
Fixed,
Changed,
}Expand description
Keep-a-Changelog heading a changelog bullet is grouped under (D-12).
Declaration order is the render order render_changelog_body emits
sections in: breaking changes first, then what’s new, then what’s fixed,
then everything else.
Variants§
Breaking
A breaking change (! marker or BREAKING CHANGE:/BREAKING-CHANGE:
footer), regardless of the commit’s own type.
Added
feat.
Fixed
fix/perf.
Changed
Every other conventional-commit type (docs, test, chore, the
string "ci", refactor, style, or any other recognized-but-
unlisted type), and any message that fails to parse as a
conventional commit at all.
Implementations§
Source§impl ChangelogHeading
impl ChangelogHeading
Sourcepub fn as_markdown_heading(self) -> &'static str
pub fn as_markdown_heading(self) -> &'static str
This heading’s Keep-a-Changelog markdown heading line.
Trait Implementations§
Source§impl Clone for ChangelogHeading
impl Clone for ChangelogHeading
Source§fn clone(&self) -> ChangelogHeading
fn clone(&self) -> ChangelogHeading
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 moreimpl Copy for ChangelogHeading
Source§impl Debug for ChangelogHeading
impl Debug for ChangelogHeading
impl Eq for ChangelogHeading
Source§impl Ord for ChangelogHeading
impl Ord for ChangelogHeading
Source§fn cmp(&self, other: &ChangelogHeading) -> Ordering
fn cmp(&self, other: &ChangelogHeading) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ChangelogHeading
impl PartialEq for ChangelogHeading
Source§impl PartialOrd for ChangelogHeading
impl PartialOrd for ChangelogHeading
impl StructuralPartialEq for ChangelogHeading
Auto Trait Implementations§
impl Freeze for ChangelogHeading
impl RefUnwindSafe for ChangelogHeading
impl Send for ChangelogHeading
impl Sync for ChangelogHeading
impl Unpin for ChangelogHeading
impl UnsafeUnpin for ChangelogHeading
impl UnwindSafe for ChangelogHeading
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<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.