pub enum VersionStatus {
Draft,
Published,
Yanked,
}Expand description
Publication status of a release version.
JSON schema
{
"description": "Publication status of a release version.",
"type": "string",
"enum": [
"draft",
"published",
"yanked"
]
}Variants§
Trait Implementations§
Source§impl Clone for VersionStatus
impl Clone for VersionStatus
Source§fn clone(&self) -> VersionStatus
fn clone(&self) -> VersionStatus
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 moreimpl Copy for VersionStatus
Source§impl Debug for VersionStatus
impl Debug for VersionStatus
Source§impl<'de> Deserialize<'de> for VersionStatus
impl<'de> Deserialize<'de> for VersionStatus
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 VersionStatus
impl Display for VersionStatus
impl Eq for VersionStatus
Source§impl FromStr for VersionStatus
impl FromStr for VersionStatus
Source§impl Hash for VersionStatus
impl Hash for VersionStatus
Source§impl Ord for VersionStatus
impl Ord for VersionStatus
Source§fn cmp(&self, other: &VersionStatus) -> Ordering
fn cmp(&self, other: &VersionStatus) -> 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for VersionStatus
impl PartialEq for VersionStatus
Source§impl PartialOrd for VersionStatus
impl PartialOrd for VersionStatus
Source§impl Serialize for VersionStatus
impl Serialize for VersionStatus
impl StructuralPartialEq for VersionStatus
Source§impl TryFrom<&String> for VersionStatus
impl TryFrom<&String> for VersionStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<&str> for VersionStatus
impl TryFrom<&str> for VersionStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Source§impl TryFrom<String> for VersionStatus
impl TryFrom<String> for VersionStatus
Source§type Error = ConversionError
type Error = ConversionError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for VersionStatus
impl RefUnwindSafe for VersionStatus
impl Send for VersionStatus
impl Sync for VersionStatus
impl Unpin for VersionStatus
impl UnsafeUnpin for VersionStatus
impl UnwindSafe for VersionStatus
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