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