pub struct RollbackOutcome {
pub kind: RollbackKind,
pub run_id: String,
pub target_run_id: String,
pub run_dir: String,
pub restored: Vec<String>,
pub deleted: Vec<String>,
pub discarded_live_changes: Vec<String>,
pub warnings: Vec<String>,
pub restart_pending: Vec<String>,
pub restart_pending_new: Vec<String>,
pub snapshot_sha256: BTreeMap<String, String>,
}Expand description
How a manual rollback ended and what it did.
Fields§
§kind: RollbackKindrestored.
run_id: StringThis rollback’s own run id.
target_run_id: StringThe run that was rolled back.
run_dir: StringThis rollback’s run directory.
restored: Vec<String>Collection paths put back from the snapshot.
deleted: Vec<String>Collection paths the rolled-back run had created, now removed.
discarded_live_changes: Vec<String>Touched paths that had changed since the run and were overwritten.
warnings: Vec<String>Non-failing notes of the engine.
restart_pending: Vec<String>The pending restarts after the rollback ([] when none or unreadable).
restart_pending_new: Vec<String>The pending restarts the rollback added: those not listed before it.
snapshot_sha256: BTreeMap<String, String>SHA-256 of each file copied into the run directory’s snapshot/.
Trait Implementations§
Source§impl Clone for RollbackOutcome
impl Clone for RollbackOutcome
Source§impl Debug for RollbackOutcome
impl Debug for RollbackOutcome
Source§impl PartialEq for RollbackOutcome
impl PartialEq for RollbackOutcome
Source§impl Serialize for RollbackOutcome
impl Serialize for RollbackOutcome
impl StructuralPartialEq for RollbackOutcome
Auto Trait Implementations§
impl Freeze for RollbackOutcome
impl RefUnwindSafe for RollbackOutcome
impl Send for RollbackOutcome
impl Sync for RollbackOutcome
impl Unpin for RollbackOutcome
impl UnsafeUnpin for RollbackOutcome
impl UnwindSafe for RollbackOutcome
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