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