pub struct GcData {
pub root: String,
pub dry_run: bool,
pub older_than: String,
pub older_than_source: String,
pub deleted: u64,
pub skipped: u64,
pub freed_bytes: u64,
pub jobs: Vec<GcJobResult>,
}Expand description
Response for the gc command.
Fields§
§root: StringResolved root directory path.
dry_run: boolWhether this was a dry-run (no deletions performed).
older_than: StringThe effective retention window (e.g. “30d”).
older_than_source: StringHow the retention window was determined: “default” or “flag”.
deleted: u64Number of job directories actually deleted (0 when dry_run=true).
skipped: u64Number of job directories skipped (running, unreadable, or too recent).
freed_bytes: u64Total bytes freed (or would be freed in dry-run mode).
jobs: Vec<GcJobResult>Per-job details.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for GcData
impl<'de> Deserialize<'de> for GcData
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
Auto Trait Implementations§
impl Freeze for GcData
impl RefUnwindSafe for GcData
impl Send for GcData
impl Sync for GcData
impl Unpin for GcData
impl UnsafeUnpin for GcData
impl UnwindSafe for GcData
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