pub enum VersionKind {
Simple,
Date,
Semantic,
Custom,
}Expand description
API version label kind.
Variants§
Simple
A stable label variant.
Date
A stable label variant.
Semantic
A stable label variant.
Custom
A stable label variant.
Implementations§
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 (const: unstable) · 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 Default for VersionKind
impl Default for VersionKind
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 (const: unstable) · 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§fn eq(&self, other: &VersionKind) -> bool
fn eq(&self, other: &VersionKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for VersionKind
impl PartialOrd for VersionKind
impl Copy 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