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