pub fn is_deprecated(&self) -> bool {
        match self {
            DeprecationStatus::Current => false,
            DeprecationStatus::Deprecated(_) => true,
        }
    }
/// If this deprecation status indicates the item is deprecated.
If this deprecation status indicates the item is deprecated.
If this deprecation status indicates the item is deprecated .
pub fn is_deprecated(&self) -> bool {
        match self {
            DeprecationStatus::Current => false,
            DeprecationStatus::Deprecated(_) => true,
        }
    }
pub fn is_deprecated ( & self ) -> bool { match self { DeprecationStatus :: Current => false , DeprecationStatus :: Deprecated ( _ ) => true , } }
If this deprecation status indicates the item is deprecated.
If this deprecation status indicates the item is deprecated .
&self
&self