pub struct StoredResponse<B: Body> {
pub response: Response<CacheBody<B>>,
pub policy: CachePolicy,
pub digest: String,
}Expand description
Represents a response from storage.
Fields§
§response: Response<CacheBody<B>>The cached response.
policy: CachePolicyThe current cache policy.
digest: StringThe response content digest.
Auto Trait Implementations§
impl<B> !Freeze for StoredResponse<B>
impl<B> !RefUnwindSafe for StoredResponse<B>
impl<B> Send for StoredResponse<B>where
B: Send,
impl<B> !Sync for StoredResponse<B>
impl<B> Unpin for StoredResponse<B>where
B: Unpin,
impl<B> !UnwindSafe for StoredResponse<B>
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