pub struct DeleteData {
pub root: String,
pub dry_run: bool,
pub cwd_scope: Option<String>,
pub deleted: u64,
pub skipped: u64,
pub out_of_scope: u64,
pub failed: u64,
pub jobs: Vec<DeleteJobResult>,
}Expand description
Response for the delete command.
Fields§
§root: StringResolved root directory path.
dry_run: boolWhether this was a dry-run (no deletions performed).
cwd_scope: Option<String>Effective cwd scope used by --all to decide which jobs to evaluate.
Absent for single-job delete <JOB_ID> invocations because they are not
scoped by cwd.
deleted: u64Number of job directories actually deleted (0 when dry_run=true).
skipped: u64Number of job directories skipped.
For aggregations involving per-job results, equals out_of_scope + failed.
out_of_scope: u64Number of jobs that were filtered out before any deletion was attempted
(cwd mismatch for --all, or non-terminal/state-unreadable jobs).
failed: u64Number of jobs that were targeted for deletion but the deletion did not take effect (delete syscall failed or post-delete existence check still saw the path).
jobs: Vec<DeleteJobResult>Per-job details.
Trait Implementations§
Source§impl Debug for DeleteData
impl Debug for DeleteData
Source§impl<'de> Deserialize<'de> for DeleteData
impl<'de> Deserialize<'de> for DeleteData
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 DeleteData
impl RefUnwindSafe for DeleteData
impl Send for DeleteData
impl Sync for DeleteData
impl Unpin for DeleteData
impl UnsafeUnpin for DeleteData
impl UnwindSafe for DeleteData
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