pub enum BumpLevel {
Major,
Minor,
Patch,
}Expand description
The semantic version-bump level a human requests with --bump — the only
version input the engine accepts (it computes the number; the human never types
it). A wire enum whose kebab string is stable and part of the plan’s content
address.
Variants§
Major
X.Y.Z → (X+1).0.0 — a breaking change.
Minor
X.Y.Z → X.(Y+1).0 — a backwards-compatible feature.
Patch
X.Y.Z → X.Y.(Z+1) — a backwards-compatible fix.
Implementations§
Trait Implementations§
impl Copy for BumpLevel
impl Eq for BumpLevel
impl StructuralPartialEq for BumpLevel
Auto Trait Implementations§
impl Freeze for BumpLevel
impl RefUnwindSafe for BumpLevel
impl Send for BumpLevel
impl Sync for BumpLevel
impl Unpin for BumpLevel
impl UnsafeUnpin for BumpLevel
impl UnwindSafe for BumpLevel
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> 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.