pub struct CacheLsEntry {
pub kind: CacheKind,
pub key: String,
pub path: String,
pub size_bytes: u64,
pub legacy: Option<bool>,
}Expand description
A cache entry as serialized in --json output (matches CacheLsEntrySchema).
Fields§
§kind: CacheKind§key: String§path: String§size_bytes: u64§legacy: Option<bool>Emitted only when true (absent otherwise), matching the TS shape.
Trait Implementations§
Source§impl Debug for CacheLsEntry
impl Debug for CacheLsEntry
impl Eq for CacheLsEntry
Source§impl PartialEq for CacheLsEntry
impl PartialEq for CacheLsEntry
Source§impl Serialize for CacheLsEntry
impl Serialize for CacheLsEntry
impl StructuralPartialEq for CacheLsEntry
Auto Trait Implementations§
impl Forget for CacheLsEntry
impl Freeze for CacheLsEntry
impl Move for CacheLsEntry
impl RefUnwindSafe for CacheLsEntry
impl Send for CacheLsEntry
impl Sync for CacheLsEntry
impl Unpin for CacheLsEntry
impl UnsafeUnpin for CacheLsEntry
impl UnwindSafe for CacheLsEntry
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