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