pub fn reason(&self) -> Option<&String> {
        match self {
            DeprecationStatus::Current => None,
            DeprecationStatus::Deprecated(ref reason) => reason.as_ref(),
        }
    }
/// An optional reason for the deprecation, or none if `Current`.
An optional reason for the deprecation, or none if `Current`.
An optional reason for the deprecation or none if ` Current ` .
pub fn reason(&self) -> Option<&String> {
        match self {
            DeprecationStatus::Current => None,
            DeprecationStatus::Deprecated(ref reason) => reason.as_ref(),
        }
    }
pub fn reason ( & self ) -> Option < & String > { match self { DeprecationStatus :: Current => None , DeprecationStatus :: Deprecated ( ref reason ) => reason . as_ref ( ) , } }
An optional reason for the deprecation, or none if `Current`.
An optional reason for the deprecation or none if ` Current ` .
&self
&self