pub enum ConventionalLevel {
Patch,
Minor,
Major,
}Expand description
Release level implied by a single Conventional-Commits message.
Variants are ordered Patch < Minor < Major so a range of commits can be
folded with max() — the strongest signal in the range wins.
Variants§
Patch
fix: / perf: / revert: (and scoped variants).
Minor
feat: (and scoped variants).
Major
A line containing BREAKING CHANGE / BREAKING-CHANGE, or a
<type>!: breaking shorthand.
Trait Implementations§
Source§impl Clone for ConventionalLevel
impl Clone for ConventionalLevel
Source§fn clone(&self) -> ConventionalLevel
fn clone(&self) -> ConventionalLevel
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 ConventionalLevel
Source§impl Debug for ConventionalLevel
impl Debug for ConventionalLevel
impl Eq for ConventionalLevel
Source§impl Ord for ConventionalLevel
impl Ord for ConventionalLevel
Source§fn cmp(&self, other: &ConventionalLevel) -> Ordering
fn cmp(&self, other: &ConventionalLevel) -> 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 ConventionalLevel
impl PartialEq for ConventionalLevel
Source§impl PartialOrd for ConventionalLevel
impl PartialOrd for ConventionalLevel
impl StructuralPartialEq for ConventionalLevel
Auto Trait Implementations§
impl Freeze for ConventionalLevel
impl RefUnwindSafe for ConventionalLevel
impl Send for ConventionalLevel
impl Sync for ConventionalLevel
impl Unpin for ConventionalLevel
impl UnsafeUnpin for ConventionalLevel
impl UnwindSafe for ConventionalLevel
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.