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