pub enum DeprecationStatus {
Current,
Deprecated(Option<String>),
}
Expand description
Whether an item is deprecated, with context.
Variants§
Trait Implementations§
source§impl Clone for DeprecationStatus
impl Clone for DeprecationStatus
source§fn clone(&self) -> DeprecationStatus
fn clone(&self) -> DeprecationStatus
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 DeprecationStatus
impl Debug for DeprecationStatus
source§impl Hash for DeprecationStatus
impl Hash for DeprecationStatus
source§impl PartialEq for DeprecationStatus
impl PartialEq for DeprecationStatus
source§fn eq(&self, other: &DeprecationStatus) -> bool
fn eq(&self, other: &DeprecationStatus) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DeprecationStatus
impl StructuralPartialEq for DeprecationStatus
Auto Trait Implementations§
impl Freeze for DeprecationStatus
impl RefUnwindSafe for DeprecationStatus
impl Send for DeprecationStatus
impl Sync for DeprecationStatus
impl Unpin for DeprecationStatus
impl UnwindSafe for DeprecationStatus
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