pub struct CacheEntry {
pub key: String,
pub path: String,
pub compression: String,
pub size: u64,
pub created: u64,
pub digest: String,
}Expand description
A stored cache entry, as cache ls reports it.
Fields§
§key: StringThe exact key it was saved under.
path: StringGuest path the tree came from.
compression: String§size: u64Archive size in bytes.
created: u64Unix seconds when it was saved.
digest: Stringsha256:… over the archive.
Trait Implementations§
Source§impl Clone for CacheEntry
impl Clone for CacheEntry
Source§fn clone(&self) -> CacheEntry
fn clone(&self) -> CacheEntry
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 CacheEntry
impl Debug for CacheEntry
Source§impl Default for CacheEntry
impl Default for CacheEntry
Source§fn default() -> CacheEntry
fn default() -> CacheEntry
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CacheEntry
impl RefUnwindSafe for CacheEntry
impl Send for CacheEntry
impl Sync for CacheEntry
impl Unpin for CacheEntry
impl UnsafeUnpin for CacheEntry
impl UnwindSafe for CacheEntry
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