pub enum VersionState {
Alpha(String),
Beta(String),
ReleaseCandidate(String),
Release,
}Variants§
Trait Implementations§
Source§impl Clone for VersionState
impl Clone for VersionState
Source§fn clone(&self) -> VersionState
fn clone(&self) -> VersionState
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 VersionState
impl Debug for VersionState
Source§impl Default for VersionState
impl Default for VersionState
Source§impl Display for VersionState
impl Display for VersionState
Source§impl Ord for VersionState
impl Ord for VersionState
Source§fn cmp(&self, other: &VersionState) -> Ordering
fn cmp(&self, other: &VersionState) -> 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 VersionState
impl PartialEq for VersionState
Source§impl PartialOrd for VersionState
impl PartialOrd for VersionState
impl Eq for VersionState
impl StructuralPartialEq for VersionState
Auto Trait Implementations§
impl Freeze for VersionState
impl RefUnwindSafe for VersionState
impl Send for VersionState
impl Sync for VersionState
impl Unpin for VersionState
impl UnwindSafe for VersionState
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