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