pub struct CacheInfo {
pub etag: Option<String>,
pub last_modified: Option<String>,
}Expand description
Cache validation information from HTTP headers
Fields§
§etag: Option<String>ETag header value for conditional requests
last_modified: Option<String>Last-Modified header value for conditional requests
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for CacheInfo
impl RefUnwindSafe for CacheInfo
impl Send for CacheInfo
impl Sync for CacheInfo
impl Unpin for CacheInfo
impl UnwindSafe for CacheInfo
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