pub fn is_type_deprecated_fault(&self) -> bool {
        matches!(
            &self.kind,
            DeprecateActivityTypeErrorKind::TypeDeprecatedFault(_)
        )
    }
/// Returns `true` if the error kind is `DeprecateActivityTypeErrorKind::TypeDeprecatedFault`.
Returns `true` if the error kind is `DeprecateActivityTypeErrorKind::TypeDeprecatedFault`.
Returns ` true ` if the error kind is ` DeprecateActivityTypeErrorKind :: TypeDeprecatedFault ` .
pub fn is_type_deprecated_fault(&self) -> bool {
        matches!(
            &self.kind,
            DeprecateActivityTypeErrorKind::TypeDeprecatedFault(_)
        )
    }
pub fn is_type_deprecated_fault ( & self ) -> bool { matches ! ( self kind DeprecateActivityTypeErrorKind TypeDeprecatedFault ( ) ) }
Returns `true` if the error kind is `DeprecateActivityTypeErrorKind::TypeDeprecatedFault`.
Returns ` true ` if the error kind is ` DeprecateActivityTypeErrorKind :: TypeDeprecatedFault ` .
&self
&self