pub struct HarCacheState {
pub expires: Option<String>,
pub last_access: Option<String>,
pub etag: Option<String>,
pub hit_count: Option<u32>,
pub comment: Option<String>,
}Expand description
Cache state
Fields§
§expires: Option<String>Expiry time (optional)
last_access: Option<String>Last access time (optional)
etag: Option<String>ETag (optional)
hit_count: Option<u32>Hit count (optional)
comment: Option<String>Optional comment
Trait Implementations§
Source§impl Clone for HarCacheState
impl Clone for HarCacheState
Source§fn clone(&self) -> HarCacheState
fn clone(&self) -> HarCacheState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for HarCacheState
impl Debug for HarCacheState
Source§impl<'de> Deserialize<'de> for HarCacheState
impl<'de> Deserialize<'de> for HarCacheState
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for HarCacheState
impl RefUnwindSafe for HarCacheState
impl Send for HarCacheState
impl Sync for HarCacheState
impl Unpin for HarCacheState
impl UnsafeUnpin for HarCacheState
impl UnwindSafe for HarCacheState
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