pub enum BumpVersionType {
Patch,
Minor,
Major,
Release,
Alpha,
Beta,
Rc,
}Expand description
Types of version bumps
Variants§
Patch
Bump patch version (0.1.0 -> 0.1.1)
Minor
Bump minor version (0.1.0 -> 0.2.0)
Major
Bump major version (0.1.0 -> 1.0.0)
Release
Remove pre-release identifier to make it a release version
Alpha
Add or bump alpha pre-release version (0.1.0 -> 0.1.0-alpha, 0.1.0-alpha -> 0.1.0-alpha.1)
Beta
Add or bump beta pre-release version (0.1.0 -> 0.1.0-beta, 0.1.0-alpha.2 -> 0.1.0-beta.1)
Rc
Add or bump rc pre-release version (0.1.0 -> 0.1.0-rc, 0.1.0-beta.1 -> 0.1.0-rc.1)
Trait Implementations§
Source§impl Clone for BumpVersionType
impl Clone for BumpVersionType
Source§fn clone(&self) -> BumpVersionType
fn clone(&self) -> BumpVersionType
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 moreSource§impl Debug for BumpVersionType
impl Debug for BumpVersionType
Source§impl PartialEq for BumpVersionType
impl PartialEq for BumpVersionType
Source§fn eq(&self, other: &BumpVersionType) -> bool
fn eq(&self, other: &BumpVersionType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BumpVersionType
impl Eq for BumpVersionType
impl StructuralPartialEq for BumpVersionType
Auto Trait Implementations§
impl Freeze for BumpVersionType
impl RefUnwindSafe for BumpVersionType
impl Send for BumpVersionType
impl Sync for BumpVersionType
impl Unpin for BumpVersionType
impl UnsafeUnpin for BumpVersionType
impl UnwindSafe for BumpVersionType
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