[−][src]Struct http_cache_semantics::RevalidatedPolicy
New policy and flags
Fields
policy: CachePolicy
New policy with new headers
modified: bool
Boolean indicating whether the response body has changed.
If false
, then a valid 304 Not Modified response has been received, and you can reuse the old cached response body.
If true
, you should use new response's body (if present), or make another request to the origin server without any conditional headers (i.e. don't use revalidation_headers()
this time) to get the new resource.
matches: bool
This was a request for something else and can't be used?
Auto Trait Implementations
impl RefUnwindSafe for RevalidatedPolicy
impl Send for RevalidatedPolicy
impl Sync for RevalidatedPolicy
impl Unpin for RevalidatedPolicy
impl UnwindSafe for RevalidatedPolicy
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,