fren_date/report.rs
1//! Execution report returned from `fren::execute`.
2
3use crate::FrenError;
4use std::path::PathBuf;
5use uuid::Uuid;
6
7/// Summary of an executed batch.
8#[derive(Debug)]
9pub struct ExecutionReport {
10 /// Number of renames successfully applied.
11 pub applied: usize,
12 /// Number of plans skipped (conflict policy `Skip`, future-phase use).
13 pub skipped: usize,
14 /// Errors encountered. The current executor aborts on the first error,
15 /// so this contains at most one entry.
16 pub errors: Vec<FrenError>,
17 /// Batch UUID for the run, also recorded in the transaction log.
18 pub batch_id: Uuid,
19 /// Path of the JSONL transaction log written for this batch (if any).
20 pub log_path: Option<PathBuf>,
21}