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