pub enum VersionStatus {
Latest,
WidelyDeployed,
Legacy,
Deprecated,
}Expand description
Lifecycle status of a supported contract spec version.
Variants§
Latest
Current recommended version for new work.
WidelyDeployed
Common in production but not the newest release.
Legacy
Still parsed but no longer recommended.
Deprecated
Scheduled for removal; parsers may warn.
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
impl Eq for VersionStatus
Source§impl PartialEq for VersionStatus
impl PartialEq for VersionStatus
Source§fn eq(&self, other: &VersionStatus) -> bool
fn eq(&self, other: &VersionStatus) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for VersionStatus
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