Enum oro_common::DeprecationInfo
source · pub enum DeprecationInfo {
Reason(String),
UnknownReason,
}Expand description
Represents the deprecation state of a package.
Variants§
Trait Implementations§
source§impl Clone for DeprecationInfo
impl Clone for DeprecationInfo
source§fn clone(&self) -> DeprecationInfo
fn clone(&self) -> DeprecationInfo
Returns a copy 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 DeprecationInfo
impl Debug for DeprecationInfo
source§impl Display for DeprecationInfo
impl Display for DeprecationInfo
source§impl PartialEq for DeprecationInfo
impl PartialEq for DeprecationInfo
source§fn eq(&self, other: &DeprecationInfo) -> bool
fn eq(&self, other: &DeprecationInfo) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for DeprecationInfo
impl Serialize for DeprecationInfo
impl Eq for DeprecationInfo
impl StructuralEq for DeprecationInfo
impl StructuralPartialEq for DeprecationInfo
Auto Trait Implementations§
impl RefUnwindSafe for DeprecationInfo
impl Send for DeprecationInfo
impl Sync for DeprecationInfo
impl Unpin for DeprecationInfo
impl UnwindSafe for DeprecationInfo
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.