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