pub enum VersionDiff {
Major,
Minor,
Patch,
PreMajor,
PreMinor,
PrePatch,
PreRelease,
}
Expand description
difference between two versions by the release type
Variants§
Trait Implementations§
Source§impl Clone for VersionDiff
impl Clone for VersionDiff
Source§fn clone(&self) -> VersionDiff
fn clone(&self) -> VersionDiff
Returns a copy of the value. Read more
1.0.0 · 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 VersionDiff
impl Debug for VersionDiff
Source§impl Display for VersionDiff
impl Display for VersionDiff
Source§impl Hash for VersionDiff
impl Hash for VersionDiff
Source§impl PartialEq for VersionDiff
impl PartialEq for VersionDiff
impl Copy for VersionDiff
impl Eq for VersionDiff
impl StructuralPartialEq for VersionDiff
Auto Trait Implementations§
impl Freeze for VersionDiff
impl RefUnwindSafe for VersionDiff
impl Send for VersionDiff
impl Sync for VersionDiff
impl Unpin for VersionDiff
impl UnwindSafe for VersionDiff
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