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