pub enum UpdateKind {
Major,
Minor,
Patch,
Unknown,
}Expand description
The magnitude of a version bump, per semver-shaped leading-numeric-segment comparison.
Variants§
Major
The leading numeric segment (major) differs.
Minor
Major is equal, minor differs.
Patch
Major and minor are equal (only patch, or nothing, differs).
Unknown
from/to could not both be classified as a version with an unambiguous leading
dotted-numeric segment (a SHA pin, a Go pseudo-version, a range/comparator string,
*/latest/workspace:*, Gradle’s {strictly}!!{preferred}, …).
Trait Implementations§
Source§impl Clone for UpdateKind
impl Clone for UpdateKind
impl Copy for UpdateKind
Source§impl Debug for UpdateKind
impl Debug for UpdateKind
impl Eq for UpdateKind
Source§impl PartialEq for UpdateKind
impl PartialEq for UpdateKind
impl StructuralPartialEq for UpdateKind
Auto Trait Implementations§
impl Freeze for UpdateKind
impl RefUnwindSafe for UpdateKind
impl Send for UpdateKind
impl Sync for UpdateKind
impl Unpin for UpdateKind
impl UnsafeUnpin for UpdateKind
impl UnwindSafe for UpdateKind
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§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.