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 duplicate of the value. Read more
1.0.0 (const: unstable) · 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 for CacheEntity
impl PartialEq for CacheEntity
Source§fn eq(&self, other: &CacheEntity) -> bool
fn eq(&self, other: &CacheEntity) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CacheEntity
impl Serialize for CacheEntity
impl StructuralPartialEq for CacheEntity
Auto Trait Implementations§
impl Freeze for CacheEntity
impl RefUnwindSafe for CacheEntity
impl Send for CacheEntity
impl Sync for CacheEntity
impl Unpin for CacheEntity
impl UnsafeUnpin for CacheEntity
impl UnwindSafe for CacheEntity
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