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