Enum cli::types::DeprecationInfo
source · [−]Expand description
Holds deprecation info such as true/false/message
Variants
Boolean(bool)
True/False flag (true is deprecated)
Message(String)
Deprecation message
Trait Implementations
sourceimpl Clone for DeprecationInfo
impl Clone for DeprecationInfo
sourcefn clone(&self) -> DeprecationInfo
fn clone(&self) -> DeprecationInfo
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DeprecationInfo
impl Debug for DeprecationInfo
sourceimpl<'de> Deserialize<'de> for DeprecationInfo
impl<'de> Deserialize<'de> for DeprecationInfo
sourcefn 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
sourceimpl PartialEq<DeprecationInfo> for DeprecationInfo
impl PartialEq<DeprecationInfo> for DeprecationInfo
sourcefn 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 ==
. Read more
sourceimpl Serialize for DeprecationInfo
impl Serialize 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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more