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