pub struct RestoreOutcome {
pub plan: RestorePlan,
pub changes: Vec<RestoredChange>,
pub overlay: Option<OverlaySummary>,
pub backup_run: PathBuf,
}Expand description
Full outcome of one restore_backups::run cycle. backup_run is the
resolved absolute path to the run that was inspected so the CLI can
echo it back to operators — useful when --from latest was specified.
Fields§
§plan: RestorePlan§changes: Vec<RestoredChange>§overlay: Option<OverlaySummary>§backup_run: PathBufTrait Implementations§
Auto Trait Implementations§
impl Freeze for RestoreOutcome
impl RefUnwindSafe for RestoreOutcome
impl Send for RestoreOutcome
impl Sync for RestoreOutcome
impl Unpin for RestoreOutcome
impl UnsafeUnpin for RestoreOutcome
impl UnwindSafe for RestoreOutcome
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