Struct har::v1_2::CacheEntity
source · pub struct CacheEntity {
pub expires: Option<String>,
pub last_access: String,
pub e_tag: String,
pub hit_count: i64,
pub comment: Option<String>,
}
Fields§
§expires: Option<String>
§last_access: String
§e_tag: String
§hit_count: i64
§comment: Option<String>
Trait Implementations§
source§impl Clone for CacheEntity
impl Clone for CacheEntity
source§fn clone(&self) -> CacheEntity
fn clone(&self) -> CacheEntity
Returns a copy 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 CacheEntity
impl Debug for CacheEntity
source§impl Default for CacheEntity
impl Default for CacheEntity
source§fn default() -> CacheEntity
fn default() -> CacheEntity
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CacheEntity
impl<'de> Deserialize<'de> for CacheEntity
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
source§impl PartialEq<CacheEntity> for CacheEntity
impl PartialEq<CacheEntity> for CacheEntity
source§fn eq(&self, other: &CacheEntity) -> bool
fn eq(&self, other: &CacheEntity) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.