pub enum ReleaseType {
Alpha,
Beta,
Patch,
Final,
}
Variants§
Trait Implementations§
Source§impl Clone for ReleaseType
impl Clone for ReleaseType
Source§fn clone(&self) -> ReleaseType
fn clone(&self) -> ReleaseType
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 ReleaseType
impl Debug for ReleaseType
Source§impl Default for ReleaseType
impl Default for ReleaseType
Source§fn default() -> ReleaseType
fn default() -> ReleaseType
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ReleaseType
impl<'de> Deserialize<'de> for ReleaseType
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 ReleaseType
impl Display for ReleaseType
Source§impl FromStr for ReleaseType
impl FromStr for ReleaseType
Source§impl Hash for ReleaseType
impl Hash for ReleaseType
Source§impl Ord for ReleaseType
impl Ord for ReleaseType
Source§fn cmp(&self, other: &ReleaseType) -> Ordering
fn cmp(&self, other: &ReleaseType) -> 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 ReleaseType
impl PartialEq for ReleaseType
Source§impl PartialOrd for ReleaseType
impl PartialOrd for ReleaseType
Source§impl Serialize for ReleaseType
impl Serialize for ReleaseType
Source§impl TryFrom<char> for ReleaseType
impl TryFrom<char> for ReleaseType
impl Copy for ReleaseType
impl Eq for ReleaseType
impl StructuralPartialEq for ReleaseType
Auto Trait Implementations§
impl Freeze for ReleaseType
impl RefUnwindSafe for ReleaseType
impl Send for ReleaseType
impl Sync for ReleaseType
impl Unpin for ReleaseType
impl UnwindSafe for ReleaseType
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