Enum cargo_release::steps::BumpLevel
source · pub enum BumpLevel {
Major,
Minor,
Patch,
Release,
Rc,
Beta,
Alpha,
}Variants§
Major
Increase the major version (x.0.0)
Minor
Increase the minor version (x.y.0)
Patch
Increase the patch version (x.y.z)
Release
Remove the pre-version (x.y.z)
Rc
Increase the rc pre-version (x.y.z-rc.M)
Beta
Increase the beta pre-version (x.y.z-beta.M)
Alpha
Increase the alpha pre-version (x.y.z-alpha.M)
Implementations§
source§impl BumpLevel
impl BumpLevel
pub fn bump_version( self, version: &mut Version, metadata: Option<&str> ) -> CargoResult<()>
Trait Implementations§
impl Copy for BumpLevel
Auto Trait Implementations§
impl RefUnwindSafe for BumpLevel
impl Send for BumpLevel
impl Sync for BumpLevel
impl Unpin 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