pub struct ServerlessCacheEntry {
pub relative_path: PathBuf,
pub bytes: u64,
pub hot: bool,
pub last_access_unix_ms: u64,
}Fields§
§relative_path: PathBuf§bytes: u64§hot: bool§last_access_unix_ms: u64Implementations§
Trait Implementations§
Source§impl Clone for ServerlessCacheEntry
impl Clone for ServerlessCacheEntry
Source§fn clone(&self) -> ServerlessCacheEntry
fn clone(&self) -> ServerlessCacheEntry
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 ServerlessCacheEntry
impl Debug for ServerlessCacheEntry
impl Eq for ServerlessCacheEntry
Source§impl PartialEq for ServerlessCacheEntry
impl PartialEq for ServerlessCacheEntry
Source§fn eq(&self, other: &ServerlessCacheEntry) -> bool
fn eq(&self, other: &ServerlessCacheEntry) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ServerlessCacheEntry
Auto Trait Implementations§
impl Freeze for ServerlessCacheEntry
impl RefUnwindSafe for ServerlessCacheEntry
impl Send for ServerlessCacheEntry
impl Sync for ServerlessCacheEntry
impl Unpin for ServerlessCacheEntry
impl UnsafeUnpin for ServerlessCacheEntry
impl UnwindSafe for ServerlessCacheEntry
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