pub type RequestCachePolicy<T> = CachePolicy<CacheablePolicyData<T>, T>;Expand description
Cache policy for requests.
Type alias that specializes CachePolicy for request caching:
Cacheablevariant containsCacheablePolicyDatawith the request and its keyNonCacheablevariant contains the original request
Aliased Type§
pub enum RequestCachePolicy<T> {
Cacheable(CacheablePolicyData<T>),
NonCacheable(T),
}Variants§
Cacheable(CacheablePolicyData<T>)
Entity should be cached.
NonCacheable(T)
Entity should not be cached; pass through directly.