Enum cli::types::DeprecationInfo
source ·
[−]Expand description
Holds deprecation info such as true/false/message
Variants
Boolean(bool)
Tuple Fields
0: bool
True/False flag (true is deprecated)
Message(String)
Tuple Fields
0: String
Deprecation message
Trait Implementations
fn 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
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
Mutably borrows from an owned value. Read more