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