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