pub struct CacheablePolicyData<T> {
pub key: CacheKey,
pub request: T,
}Expand description
A cacheable request bundled with its generated cache key.
Created when a request passes predicate evaluation and has its cache key extracted. Contains both the original request and the key used for cache lookup/storage.
Fields§
§key: CacheKeyThe generated cache key for this request.
request: TThe original request.
Implementations§
Auto Trait Implementations§
impl<T> Freeze for CacheablePolicyData<T>where
T: Freeze,
impl<T> RefUnwindSafe for CacheablePolicyData<T>where
T: RefUnwindSafe,
impl<T> Send for CacheablePolicyData<T>where
T: Send,
impl<T> Sync for CacheablePolicyData<T>where
T: Sync,
impl<T> Unpin for CacheablePolicyData<T>where
T: Unpin,
impl<T> UnwindSafe for CacheablePolicyData<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more