pub enum VersionKind {
SemVer(Version),
CalVer(CalVer),
Partial(Partial),
}Variants§
Implementations§
Source§impl VersionKind
impl VersionKind
Trait Implementations§
Source§impl Clone for VersionKind
impl Clone for VersionKind
Source§fn clone(&self) -> VersionKind
fn clone(&self) -> VersionKind
Returns a duplicate 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 VersionKind
impl Debug for VersionKind
Source§impl<'de> Deserialize<'de> for VersionKind
impl<'de> Deserialize<'de> for VersionKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for VersionKind
impl Display for VersionKind
Source§impl FromStr for VersionKind
impl FromStr for VersionKind
Source§impl Hash for VersionKind
impl Hash for VersionKind
Source§impl Ord for VersionKind
impl Ord for VersionKind
Source§fn cmp(&self, other: &VersionKind) -> Ordering
fn cmp(&self, other: &VersionKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for VersionKind
impl PartialEq for VersionKind
Source§impl PartialOrd for VersionKind
impl PartialOrd for VersionKind
Source§impl Serialize for VersionKind
impl Serialize for VersionKind
impl Eq for VersionKind
impl StructuralPartialEq for VersionKind
Auto Trait Implementations§
impl Freeze for VersionKind
impl RefUnwindSafe for VersionKind
impl Send for VersionKind
impl Sync for VersionKind
impl Unpin for VersionKind
impl UnsafeUnpin for VersionKind
impl UnwindSafe for VersionKind
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