#[non_exhaustive]pub enum DeprecationTier {
Now,
Next,
Eventual,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for DeprecationTier
impl Clone for DeprecationTier
Source§fn clone(&self) -> DeprecationTier
fn clone(&self) -> DeprecationTier
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 DeprecationTier
Source§impl Debug for DeprecationTier
impl Debug for DeprecationTier
Source§impl<'de> Deserialize<'de> for DeprecationTier
impl<'de> Deserialize<'de> for DeprecationTier
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<DeprecationTier, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DeprecationTier, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for DeprecationTier
impl Display for DeprecationTier
impl Eq for DeprecationTier
Source§impl Hash for DeprecationTier
impl Hash for DeprecationTier
Source§impl Ord for DeprecationTier
impl Ord for DeprecationTier
Source§fn cmp(&self, other: &DeprecationTier) -> Ordering
fn cmp(&self, other: &DeprecationTier) -> 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 DeprecationTier
impl PartialEq for DeprecationTier
Source§impl PartialOrd for DeprecationTier
impl PartialOrd for DeprecationTier
Source§impl Serialize for DeprecationTier
impl Serialize for DeprecationTier
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for DeprecationTier
Auto Trait Implementations§
impl Forget for DeprecationTier
impl Freeze for DeprecationTier
impl Move for DeprecationTier
impl RefUnwindSafe for DeprecationTier
impl Send for DeprecationTier
impl Sync for DeprecationTier
impl Unpin for DeprecationTier
impl UnsafeUnpin for DeprecationTier
impl UnwindSafe for DeprecationTier
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