Struct git_calver::releaser::Releaser
source · [−]pub struct Releaser<'a> { /* private fields */ }
Implementations
sourceimpl<'a> Releaser<'a>
impl<'a> Releaser<'a>
pub fn new(repo: &Repository) -> Releaser<'_>
pub fn last_release(&self) -> Release
pub fn next_version(&self) -> CalVer
pub fn next_version_of(&self, current: CalVer) -> CalVer
pub fn is_releasable(&self) -> bool
pub fn bump(&self, message: &str) -> Result<CalVer, Error>
pub fn bump_to(&self, version: CalVer, message: &str) -> Result<CalVer, Error>
Auto Trait Implementations
impl<'a> RefUnwindSafe for Releaser<'a>
impl<'a> !Send for Releaser<'a>
impl<'a> !Sync for Releaser<'a>
impl<'a> Unpin for Releaser<'a>
impl<'a> UnwindSafe for Releaser<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more