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